##// END OF EJS Templates
scm: switch showing link all revisions and directory revisions if scm supports these feature or not....
Toshi MARUYAMA -
r5025:20fa628de5e4
parent child
Show More
@@ -18,15 +18,20
18 18 <%= render :partial => 'revisions',
19 19 :locals => {:project => @project, :path => @path,
20 20 :revisions => @changesets, :entry => nil }%>
21
22 <% if @path.blank? %>
23 <p><%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %></p>
24 <% else %>
25 <p><%= link_to l(:label_view_revisions),
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),
26 29 :action => 'changes',
27 :path => to_path_param(@path), :id => @project %></p>
28 <% end %>
30 :path => to_path_param(@path), :id => @project %>
31 <% end %>
32 </p>
29 33
34 <% if true # @path.blank? %>
30 35 <% content_for :header_tags do %>
31 36 <%= auto_discovery_link_tag(
32 37 :atom, params.merge(
General Comments 0
You need to be logged in to leave comments. Login now