From: Jean-Philippe Lang Date: Sun, 20 Nov 2011 14:07:22 +0000 (+0000) Subject: Do not show the paragraph if no message is set. X-Git-Tag: 1.3.0~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8b5b928b9236f09f029915d755bde23b3e8fabb5;p=redmine.git Do not show the paragraph if no message is set. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7876 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/common/error.html.erb b/app/views/common/error.html.erb index 0367b47be..77ead9df4 100644 --- a/app/views/common/error.html.erb +++ b/app/views/common/error.html.erb @@ -1,6 +1,8 @@

<%=h @status %>

-

<%=h @message %>

+<% if @message.present? %> +

<%=h @message %>

+<% end %>

Back

<% html_title @status %>