From 188077d6345ebaed00555c25092cb43ec46b5531 2007-08-01 18:59:39 From: Jean-Philippe Lang Date: 2007-08-01 18:59:39 Subject: [PATCH] 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 --- diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 5ef8acf..369f8d0 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -81,6 +81,7 @@ end %> <% end %> +<% if @journals_count > 0 %>

<%=l(:label_history)%> <% if @journals_count > @journals.length %>(<%= l(:label_last_changes, @journals.length) %>)<% end %>

@@ -89,6 +90,7 @@ end %>

<%= link_to l(:label_change_view_all), :action => 'history', :id => @issue %>

<% end %>
+<% end %>

<%=l(:label_attachment_plural)%>