fix html tag at app/views/repositories/show.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9320 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-04-04 10:43:15 +00:00
parent 72590ea997
commit 9aefe8b1e9
1 changed files with 4 additions and 2 deletions

View File

@ -57,12 +57,14 @@
<% if @repositories.size > 1 %>
<% content_for :sidebar do %>
<h3><%= l(:label_repository_plural) %></h3>
<%= @repositories.sort.collect {|repo|
<p>
<%= @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('<br />').html_safe %></p>
}.join('<br />').html_safe %>
</p>
<% end %>
<% end %>