##// END OF EJS Templates
scm: code clean up repositories/show.rhtml....
Toshi MARUYAMA -
r5018:1ec3f1c696f9
parent child
Show More
@@ -12,14 +12,19
12 12
13 13 <%= render_properties(@properties) %>
14 14
15 <% if @changesets && !@changesets.empty? && authorize_for('repositories', 'revisions') %>
15 <% if authorize_for('repositories', 'revisions') %>
16 <% if @changesets && !@changesets.empty? %>
16 17 <h3><%= l(:label_latest_revision_plural) %></h3>
17 <%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => nil }%>
18 <%= render :partial => 'revisions',
19 :locals => {:project => @project, :path => @path,
20 :revisions => @changesets, :entry => nil }%>
18 21
19 22 <% if @path.blank? %>
20 23 <p><%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project %></p>
21 24 <% else %>
22 <p><%= link_to l(:label_view_revisions), :action => 'changes', :path => to_path_param(@path), :id => @project %></p>
25 <p><%= link_to l(:label_view_revisions),
26 :action => 'changes',
27 :path => to_path_param(@path), :id => @project %></p>
23 28 <% end %>
24 29
25 30 <% content_for :header_tags do %>
@@ -33,6 +38,7
33 38 <%= f.link_to 'Atom', :url => {:action => 'revisions', :id => @project, :key => User.current.rss_key} %>
34 39 <% end %>
35 40 <% end %>
41 <% end %>
36 42
37 43 <% content_for :header_tags do %>
38 44 <%= stylesheet_link_tag "scm" %>
General Comments 0
You need to be logged in to leave comments. Login now