summaryrefslogtreecommitdiffstats
path: root/app/views/issues/show.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-01 18:59:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-01 18:59:39 +0000
commit188077d6345ebaed00555c25092cb43ec46b5531 (patch)
tree39fe610509f01d0f34c192a1af77326532d94a44 /app/views/issues/show.rhtml
parentf8da6fb6792fad685d52a5aff376b45915e15826 (diff)
downloadredmine-188077d6345ebaed00555c25092cb43ec46b5531.tar.gz
redmine-188077d6345ebaed00555c25092cb43ec46b5531.zip
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
Diffstat (limited to 'app/views/issues/show.rhtml')
-rw-r--r--app/views/issues/show.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index 5ef8acf58..369f8d094 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -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>