History box on issues/show is now hidden if there's no history

git-svn-id: http://redmine.rubyforge.org/svn/trunk@596 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-08-01 18:59:39 +00:00
parent f8da6fb679
commit 188077d634
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ end %>
</div>
<% end %>
<% if @journals_count > 0 %>
<div id="history" class="box">
<h3><%=l(:label_history)%>
<% if @journals_count > @journals.length %>(<%= l(:label_last_changes, @journals.length) %>)<% end %></h3>
@ -89,6 +90,7 @@ end %>
<p><center><small><%= link_to l(:label_change_view_all), :action => 'history', :id => @issue %></small></center></p>
<% end %>
</div>
<% end %>
<div class="box">
<h3><%=l(:label_attachment_plural)%></h3>