Add links to repositories on repository list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10123 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3692369584
commit
2175e4a901
@ -2,9 +2,9 @@
|
|||||||
<table class="list">
|
<table class="list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%= l(:label_scm) %></th>
|
|
||||||
<th><%= l(:field_identifier) %></th>
|
<th><%= l(:field_identifier) %></th>
|
||||||
<th><%= l(:field_repository_is_default) %></th>
|
<th><%= l(:field_repository_is_default) %></th>
|
||||||
|
<th><%= l(:label_scm) %></th>
|
||||||
<th><%= l(:label_repository) %></th>
|
<th><%= l(:label_repository) %></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -12,9 +12,12 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% @project.repositories.sort.each do |repository| %>
|
<% @project.repositories.sort.each do |repository| %>
|
||||||
<tr class="<%= cycle 'odd', 'even' %>">
|
<tr class="<%= cycle 'odd', 'even' %>">
|
||||||
<td><%=h repository.scm_name %></td>
|
<td>
|
||||||
<td><%=h repository.identifier %></td>
|
<%= link_to repository.identifier,
|
||||||
|
{:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier_param.present? %>
|
||||||
|
</td>
|
||||||
<td align="center"><%= checked_image repository.is_default? %></td>
|
<td align="center"><%= checked_image repository.is_default? %></td>
|
||||||
|
<td><%=h repository.scm_name %></td>
|
||||||
<td><%=h repository.url %></td>
|
<td><%=h repository.url %></td>
|
||||||
<td class="buttons">
|
<td class="buttons">
|
||||||
<% if User.current.allowed_to?(:manage_repository, @project) %>
|
<% if User.current.allowed_to?(:manage_repository, @project) %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user