##// END OF EJS Templates
code layout clean up app/views/repositories/show.html.erb...
Toshi MARUYAMA -
r9187:ddce7ef142bb
parent child
Show More
@@ -4,7 +4,8
4 <%= render :partial => 'navigation' %>
4 <%= render :partial => 'navigation' %>
5 </div>
5 </div>
6
6
7 <h2><%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %></h2>
7 <h2><%= render :partial => 'breadcrumbs',
8 :locals => { :path => @path, :kind => 'dir', :revision => @rev } %></h2>
8
9
9 <% if !@entries.nil? && authorize_for('repositories', 'browse') %>
10 <% if !@entries.nil? && authorize_for('repositories', 'browse') %>
10 <%= render :partial => 'dir_list' %>
11 <%= render :partial => 'dir_list' %>
@@ -23,7 +24,8
23 <% has_branches = (!@repository.branches.nil? && @repository.branches.length > 0)
24 <% has_branches = (!@repository.branches.nil? && @repository.branches.length > 0)
24 sep = '' %>
25 sep = '' %>
25 <% if @repository.supports_all_revisions? && @path.blank? %>
26 <% if @repository.supports_all_revisions? && @path.blank? %>
26 <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project, :repository_id => @repository.identifier_param %>
27 <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project,
28 :repository_id => @repository.identifier_param %>
27 <% sep = '|' %>
29 <% sep = '|' %>
28 <% end %>
30 <% end %>
29 <% if @repository.supports_directory_revisions? &&
31 <% if @repository.supports_directory_revisions? &&
@@ -36,7 +38,7
36 :repository_id => @repository.identifier_param,
38 :repository_id => @repository.identifier_param,
37 :rev => @rev %>
39 :rev => @rev %>
38 <% end %>
40 <% end %>
39 </p>
41 </p>
40 <% if @repository.supports_all_revisions? %>
42 <% if @repository.supports_all_revisions? %>
41 <% content_for :header_tags do %>
43 <% content_for :header_tags do %>
42 <%= auto_discovery_link_tag(
44 <%= auto_discovery_link_tag(
General Comments 0
You need to be logged in to leave comments. Login now