From 0c19b1afd9001b90b61f60f09338f3f57961ae09 Mon Sep 17 00:00:00 2001 From: Alexander Randa Date: Fri, 18 Nov 2011 22:10:07 +0300 Subject: [PATCH] disabled empty notice --- app/views/admin/projects/show.html.haml | 3 ++- app/views/admin/users/show.html.haml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml index 2266eb804cf..9f7405c74b3 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 dc7e21d05be..4605fcb91aa 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