diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index 2266eb8..9f7405c 100644 --- a/app/views/admin/projects/show.html.haml +++ b/app/views/admin/projects/show.html.haml @@ -1,4 +1,5 @@ -%p#notice= notice +- unless notice.nil? + %p#notice= notice #infoblock %h2= @admin_project.name diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml index dc7e21d..4605fcb 100644 --- a/app/views/admin/users/show.html.haml +++ b/app/views/admin/users/show.html.haml @@ -1,4 +1,5 @@ -%p#notice= notice +- unless notice.nil? + %p#notice= notice #infoblock %p -- libgit2 0.21.2