mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 16:31:12 +00:00
Setting page for repository does not scroll horizontally on small screens (#24309).
Patch by Tomomi Yuzuriha. git-svn-id: http://svn.redmine.org/redmine/trunk@17447 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
391bc8b763
commit
7ca5cd61b3
@ -3,39 +3,41 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if @project.repositories.any? %>
|
<% if @project.repositories.any? %>
|
||||||
<table class="list">
|
<div class="autoscroll">
|
||||||
<thead>
|
<table class="list">
|
||||||
<tr>
|
<thead>
|
||||||
<th><%= l(:field_identifier) %></th>
|
<tr>
|
||||||
<th><%= l(:field_repository_is_default) %></th>
|
<th><%= l(:field_identifier) %></th>
|
||||||
<th><%= l(:label_scm) %></th>
|
<th><%= l(:field_repository_is_default) %></th>
|
||||||
<th><%= l(:label_repository) %></th>
|
<th><%= l(:label_scm) %></th>
|
||||||
<th></th>
|
<th><%= l(:label_repository) %></th>
|
||||||
</tr>
|
<th></th>
|
||||||
</thead>
|
</tr>
|
||||||
<tbody>
|
</thead>
|
||||||
<% @project.repositories.sort.each do |repository| %>
|
<tbody>
|
||||||
<tr>
|
<% @project.repositories.sort.each do |repository| %>
|
||||||
<td class="name">
|
<tr>
|
||||||
<%= link_to repository.identifier,
|
<td class="name">
|
||||||
{:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier.present? %>
|
<%= link_to repository.identifier,
|
||||||
</td>
|
{:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier.present? %>
|
||||||
<td><%= checked_image repository.is_default? %></td>
|
</td>
|
||||||
<td><%= repository.scm_name %></td>
|
<td><%= checked_image repository.is_default? %></td>
|
||||||
<td><%= repository.url %></td>
|
<td><%= repository.scm_name %></td>
|
||||||
<td class="buttons">
|
<td><%= repository.url %></td>
|
||||||
<% if User.current.allowed_to?(:manage_repository, @project) %>
|
<td class="buttons">
|
||||||
<%= link_to(l(:label_user_plural), committers_repository_path(repository),
|
<% if User.current.allowed_to?(:manage_repository, @project) %>
|
||||||
:class => 'icon icon-user') %>
|
<%= link_to(l(:label_user_plural), committers_repository_path(repository),
|
||||||
<%= link_to(l(:button_edit), edit_repository_path(repository),
|
:class => 'icon icon-user') %>
|
||||||
:class => 'icon icon-edit') %>
|
<%= link_to(l(:button_edit), edit_repository_path(repository),
|
||||||
<%= delete_link repository_path(repository) %>
|
:class => 'icon icon-edit') %>
|
||||||
<% end %>
|
<%= delete_link repository_path(repository) %>
|
||||||
</td>
|
<% end %>
|
||||||
</tr>
|
</td>
|
||||||
<% end %>
|
</tr>
|
||||||
</tbody>
|
<% end %>
|
||||||
</table>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p class="nodata"><%= l(:label_no_data) %></p>
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user