@@ -57,12 +57,14 | |||||
57 | <% if @repositories.size > 1 %> |
|
57 | <% if @repositories.size > 1 %> | |
58 | <% content_for :sidebar do %> |
|
58 | <% content_for :sidebar do %> | |
59 | <h3><%= l(:label_repository_plural) %></h3> |
|
59 | <h3><%= l(:label_repository_plural) %></h3> | |
60 | <%= @repositories.sort.collect {|repo| |
|
60 | <p> | |
|
61 | <%= @repositories.sort.collect {|repo| | |||
61 | link_to h(repo.name), |
|
62 | link_to h(repo.name), | |
62 | {:controller => 'repositories', :action => 'show', |
|
63 | {:controller => 'repositories', :action => 'show', | |
63 | :id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil}, |
|
64 | :id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil}, | |
64 | :class => 'repository' + (repo == @repository ? ' selected' : '') |
|
65 | :class => 'repository' + (repo == @repository ? ' selected' : '') | |
65 |
}.join('<br />').html_safe %> |
|
66 | }.join('<br />').html_safe %> | |
|
67 | </p> | |||
66 | <% end %> |
|
68 | <% end %> | |
67 | <% end %> |
|
69 | <% end %> | |
68 |
|
70 |
General Comments 0
You need to be logged in to leave comments.
Login now