Commit 0baf5bae authored by jplang's avatar jplang

Adds a CSS class for reorder links (#15307).

git-svn-id: https://svn.redmine.org/redmine/trunk@12265 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 5575c9a9
......@@ -20,7 +20,7 @@
<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>
<% 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">
<%= delete_link custom_field_path(custom_field) %>
</td>
......
......@@ -18,7 +18,7 @@
<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.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">
<%= delete_link enumeration_path(enumeration) %>
</td>
......
......@@ -25,7 +25,7 @@
<% end %>
<td align="center"><%= checked_image status.is_default? %></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">
<%= delete_link issue_status_path(status) %>
</td>
......
......@@ -12,7 +12,7 @@
<tr class="<%= cycle 'odd', 'even' %>">
<td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
<td><%=h board.description %></td>
<td align="center">
<td class="reorder">
<% if authorize_for("boards", "edit") %>
<%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
<% end %>
......
......@@ -15,7 +15,7 @@
<% for role in @roles %>
<tr class="<%= cycle("odd", "even") %>">
<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? %>
<%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
<% end %>
......
......@@ -23,7 +23,7 @@
</span>
<% end %>
</td>
<td align="center" style="width:15%;">
<td class="reorder">
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
</td>
<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.buttons { width: 15%; white-space:nowrap; text-align: right; }
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; }
tr.project td.name a { white-space:nowrap; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment