##// END OF EJS Templates
Do not display both 'View all revisions' and 'View revision' links (#7984)....
Jean-Philippe Lang -
r5093:4d7e61c49e75
parent child
Show More
@@ -19,19 +19,16
19 :locals => {:project => @project, :path => @path,
19 :locals => {:project => @project, :path => @path,
20 :revisions => @changesets, :entry => nil }%>
20 :revisions => @changesets, :entry => nil }%>
21 <% end %>
21 <% end %>
22 <p>
23 <% if @repository.supports_all_revisions? %>
24 <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %>
25 <% end %>
26 <% if @repository.supports_directory_revisions? %>
27 |
28 <%= link_to l(:label_view_revisions),
29 :action => 'changes',
30 :path => to_path_param(@path), :id => @project %>
31 <% end %>
32 </p>
33
22
34 <% if true # @path.blank? %>
23 <% if @path.blank? && @repository.supports_all_revisions? %>
24 <p><%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %>
25 <% elsif @repository.supports_directory_revisions? %>
26 <p><%= link_to l(:label_view_revisions),
27 :action => 'changes',
28 :path => to_path_param(@path), :id => @project %></p>
29 <% end %>
30
31 <% if @repository.supports_all_revisions? %>
35 <% content_for :header_tags do %>
32 <% content_for :header_tags do %>
36 <%= auto_discovery_link_tag(
33 <%= auto_discovery_link_tag(
37 :atom, params.merge(
34 :atom, params.merge(
General Comments 0
You need to be logged in to leave comments. Login now