From: Toshi MARUYAMA Date: Wed, 4 Apr 2012 10:19:41 +0000 (+0000) Subject: replace tabs to spaces at app/views/repositories/show.html.erb X-Git-Tag: 1.4.0~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a5b480c62e507758045099e5e4496c90b16758e0;p=redmine.git replace tabs to spaces at app/views/repositories/show.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9318 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index a31e0f6a6..3e5696cf9 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -59,14 +59,14 @@ <% end %> <% if @repositories.size > 1 %> - <% content_for :sidebar do %> -

<%= l(:label_repository_plural) %>

- <%= @repositories.sort.collect {|repo| - link_to h(repo.name), + <% content_for :sidebar do %> +

<%= l(:label_repository_plural) %>

+ <%= @repositories.sort.collect {|repo| + link_to h(repo.name), {:controller => 'repositories', :action => 'show', :id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil}, :class => 'repository' + (repo == @repository ? ' selected' : '') - }.join('
').html_safe %>

- <% end %> + }.join('
').html_safe %>

+ <% end %> <% end %> <% content_for :header_tags do %>