diff --git a/app/views/repositories/show.rhtml b/app/views/repositories/show.rhtml index 033a928cc..7df7d727d 100644 --- a/app/views/repositories/show.rhtml +++ b/app/views/repositories/show.rhtml @@ -19,16 +19,19 @@ :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => nil }%> <% end %> +
+<% if @repository.supports_all_revisions? %> +<%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %> +<% end %> +<% if @repository.supports_directory_revisions? %> +| +<%= link_to l(:label_view_revisions), + :action => 'changes', + :path => to_path_param(@path), :id => @project %> +<% end %> +
-<% if @path.blank? && @repository.supports_all_revisions? %> -<%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %> -<% elsif @repository.supports_directory_revisions? %> -
<%= link_to l(:label_view_revisions), - :action => 'changes', - :path => to_path_param(@path), :id => @project %>
-<% end %> - -<% if @repository.supports_all_revisions? %> +<% if true # @path.blank? %> <% content_for :header_tags do %> <%= auto_discovery_link_tag( :atom, params.merge(