修复版本库列表删除按钮在页面外的BUG

This commit is contained in:
sw 2014-10-20 15:56:09 +08:00
parent 4ceb0e8789
commit 71cc4c3860
1 changed files with 5 additions and 5 deletions

View File

@ -4,10 +4,10 @@
<table class="list" style="table-layout: fixed;">
<thead>
<tr>
<th><%= l(:field_identifier) %></th>
<th><%= l(:field_repository_is_default) %></th>
<th><%= l(:label_scm) %></th>
<th><%= l(:label_repository_path) %></th>
<th style="width: 20%"><%= l(:field_identifier) %></th>
<th style="width: 10%"><%= l(:field_repository_is_default) %></th>
<th style="width: 15%"><%= l(:label_scm) %></th>
<th style="width: 20%"><%= l(:label_repository_path) %></th>
<th></th>
</tr>
</thead>
@ -37,7 +37,7 @@
<% end %>
<% elsif repository.scm_name=="Git"%>
<%if User.current.allowed_to?(:manage_repository, @project) %>
<!-- <%= link_to(l(:button_edit), edit_repository_path(repository),
<!-- <%#= link_to(l(:button_edit), edit_repository_path(repository),
:class => 'icon icon-edit') %> -->
<%= link_to(l(:label_user_plural), committers_repository_path(repository),
:class => 'icon icon-user') %>