From ddce7ef142bb7e18e0f5e6b50611ec5203e56a19 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 4 Apr 2012 10:43:29 +0000 Subject: [PATCH] code layout clean up app/views/repositories/show.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9321 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/show.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 166d5e75e..fcf0a0e0d 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -4,7 +4,8 @@ <%= render :partial => 'navigation' %> -

<%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %>

+

<%= render :partial => 'breadcrumbs', + :locals => { :path => @path, :kind => 'dir', :revision => @rev } %>

<% if !@entries.nil? && authorize_for('repositories', 'browse') %> <%= render :partial => 'dir_list' %> @@ -23,7 +24,8 @@ <% has_branches = (!@repository.branches.nil? && @repository.branches.length > 0) sep = '' %> <% if @repository.supports_all_revisions? && @path.blank? %> - <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project, :repository_id => @repository.identifier_param %> + <%= link_to l(:label_view_all_revisions), :action => 'revisions', :id => @project, + :repository_id => @repository.identifier_param %> <% sep = '|' %> <% end %> <% if @repository.supports_directory_revisions? && @@ -36,7 +38,7 @@ :repository_id => @repository.identifier_param, :rev => @rev %> <% end %> -

+

<% if @repository.supports_all_revisions? %> <% content_for :header_tags do %> <%= auto_discovery_link_tag( -- 2.39.5