]> source.dussan.org Git - redmine.git/commitdiff
History box on issues/show is now hidden if there's no history
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 1 Aug 2007 18:59:39 +0000 (18:59 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 1 Aug 2007 18:59:39 +0000 (18:59 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@596 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/show.rhtml

index 5ef8acf5821e0c4b5526da435d8f4fb9af1c5e09..369f8d0942f0f64780293cfd21a62605dc099c30 100644 (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>