diff --git a/app/views/repositories/changes.rhtml b/app/views/repositories/changes.rhtml index 2d7462b29..341c6cba5 100644 --- 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 %>
-<%= 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)) -%>