Adds a CSS class for reorder links (#15307).
git-svn-id: http://svn.redmine.org/redmine/trunk@12265 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3096b6183e
commit
8525e56c33
|
@ -20,7 +20,7 @@
|
||||||
<td align="center"><%= checked_image custom_field.is_for_all? %></td>
|
<td align="center"><%= checked_image custom_field.is_for_all? %></td>
|
||||||
<td align="center"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
|
<td align="center"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
|
||||||
<% end %>
|
<% end %>
|
||||||
<td align="center" style="width:15%;"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
|
<td class="reorder"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
|
||||||
<td class="buttons">
|
<td class="buttons">
|
||||||
<%= delete_link custom_field_path(custom_field) %>
|
<%= delete_link custom_field_path(custom_field) %>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<td><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td>
|
<td><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td>
|
||||||
<td class="center" style="width:15%;"><%= checked_image enumeration.is_default? %></td>
|
<td class="center" style="width:15%;"><%= checked_image enumeration.is_default? %></td>
|
||||||
<td class="center" style="width:15%;"><%= checked_image enumeration.active? %></td>
|
<td class="center" style="width:15%;"><%= checked_image enumeration.active? %></td>
|
||||||
<td align="center" style="width:15%;"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td>
|
<td class="reorder"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td>
|
||||||
<td class="buttons">
|
<td class="buttons">
|
||||||
<%= delete_link enumeration_path(enumeration) %>
|
<%= delete_link enumeration_path(enumeration) %>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<td align="center"><%= checked_image status.is_default? %></td>
|
<td align="center"><%= checked_image status.is_default? %></td>
|
||||||
<td align="center"><%= checked_image status.is_closed? %></td>
|
<td align="center"><%= checked_image status.is_closed? %></td>
|
||||||
<td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
|
<td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
|
||||||
<td class="buttons">
|
<td class="buttons">
|
||||||
<%= delete_link issue_status_path(status) %>
|
<%= delete_link issue_status_path(status) %>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<tr class="<%= cycle 'odd', 'even' %>">
|
<tr class="<%= cycle 'odd', 'even' %>">
|
||||||
<td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
|
<td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
|
||||||
<td><%=h board.description %></td>
|
<td><%=h board.description %></td>
|
||||||
<td align="center">
|
<td class="reorder">
|
||||||
<% if authorize_for("boards", "edit") %>
|
<% if authorize_for("boards", "edit") %>
|
||||||
<%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
|
<%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<% for role in @roles %>
|
<% for role in @roles %>
|
||||||
<tr class="<%= cycle("odd", "even") %>">
|
<tr class="<%= cycle("odd", "even") %>">
|
||||||
<td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
|
<td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
|
||||||
<td align="center" style="width:15%;">
|
<td class="reorder">
|
||||||
<% unless role.builtin? %>
|
<% unless role.builtin? %>
|
||||||
<%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
|
<%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td align="center" style="width:15%;">
|
<td class="reorder">
|
||||||
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
|
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
|
||||||
</td>
|
</td>
|
||||||
<td class="buttons">
|
<td class="buttons">
|
||||||
|
|
|
@ -129,6 +129,7 @@ table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
|
||||||
table.list td.checkbox input {padding:0px;}
|
table.list td.checkbox input {padding:0px;}
|
||||||
table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
|
table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
|
||||||
table.list td.buttons a { padding-right: 0.6em; }
|
table.list td.buttons a { padding-right: 0.6em; }
|
||||||
|
table.list td.reorder {width:15%; white-space:nowrap; text-align:center; }
|
||||||
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
|
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
|
||||||
|
|
||||||
tr.project td.name a { white-space:nowrap; }
|
tr.project td.name a { white-space:nowrap; }
|
||||||
|
|
Loading…
Reference in New Issue