diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 2266eb804cf590574f3e85997a50d163605e9321..9f7405c74b36f04ac61800ebcae251b98b746ac6 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 dc7e21d05be809a8b8f051bf69e9150d81fac629..4605fcb91aa3a28cb93bbfffe30cb84210fad3af 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