##// 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 <%= render :partial => 'revisions',
18 <%= render :partial => 'revisions',
19 :locals => {:project => @project, :path => @path,
19 :locals => {:project => @project, :path => @path,
20 :revisions => @changesets, :entry => nil }%>
20 :revisions => @changesets, :entry => nil }%>
21
21 <% end %>
22 <% if @path.blank? %>
22 <p>
23 <p><%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %></p>
23 <% if @repository.supports_all_revisions? %>
24 <% else %>
24 <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %>
25 <p><%= link_to l(:label_view_revisions),
25 <% end %>
26 <% if @repository.supports_directory_revisions? %>
27 |
28 <%= link_to l(:label_view_revisions),
26 :action => 'changes',
29 :action => 'changes',
27 :path => to_path_param(@path), :id => @project %></p>
30 :path => to_path_param(@path), :id => @project %>
28 <% end %>
31 <% end %>
32 </p>
29
33
34 <% if true # @path.blank? %>
30 <% content_for :header_tags do %>
35 <% content_for :header_tags do %>
31 <%= auto_discovery_link_tag(
36 <%= auto_discovery_link_tag(
32 :atom, params.merge(
37 :atom, params.merge(
General Comments 0
You need to be logged in to leave comments. Login now