OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d1414
)
Don't display the table headers if there is no changeset to display.
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sun, 8 Jun 2008 15:46:15 +0000
(15:46 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sun, 8 Jun 2008 15:46:15 +0000
(15:46 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1511
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/views/repositories/changes.rhtml
patch
|
blob
|
history
diff --git
a/app/views/repositories/changes.rhtml
b/app/views/repositories/changes.rhtml
index
2d7462b
..
341c6cb
100644
(file)
--- a/
app/views/repositories/changes.rhtml
+++ b/
app/views/repositories/changes.rhtml
@@
-13,6
+13,7
@@
<%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
</p>
-<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>
+<%= render(:partial => 'revisions',
+ :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }) unless @changesets.empty? %>
<% html_title(l(:label_change_plural)) -%>