From 8b5b928b9236f09f029915d755bde23b3e8fabb5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 20 Nov 2011 14:07:22 +0000 Subject: [PATCH] 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 --- app/views/common/error.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 %> -- 2.39.5