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
This commit is contained in:
parent
0a38f329f8
commit
8b5b928b92
|
@ -1,6 +1,8 @@
|
||||||
<h2><%=h @status %></h2>
|
<h2><%=h @status %></h2>
|
||||||
|
|
||||||
<p id="errorExplanation"><%=h @message %></p>
|
<% if @message.present? %>
|
||||||
|
<p id="errorExplanation"><%=h @message %></p>
|
||||||
|
<% end %>
|
||||||
<p><a href="javascript:history.back()">Back</a></p>
|
<p><a href="javascript:history.back()">Back</a></p>
|
||||||
|
|
||||||
<% html_title @status %>
|
<% html_title @status %>
|
||||||
|
|
Loading…
Reference in New Issue