##// END OF EJS Templates
Adds a CSS class for reorder links (#15307)....
Jean-Philippe Lang -
r12035:8525e56c3390
parent child
Show More
@@ -20,7 +20,7
20 <td align="center"><%= checked_image custom_field.is_for_all? %></td>
20 <td align="center"><%= checked_image custom_field.is_for_all? %></td>
21 <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>
21 <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>
22 <% end %>
22 <% end %>
23 <td align="center" style="width:15%;"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
23 <td class="reorder"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
24 <td class="buttons">
24 <td class="buttons">
25 <%= delete_link custom_field_path(custom_field) %>
25 <%= delete_link custom_field_path(custom_field) %>
26 </td>
26 </td>
@@ -18,7 +18,7
18 <td><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td>
18 <td><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td>
19 <td class="center" style="width:15%;"><%= checked_image enumeration.is_default? %></td>
19 <td class="center" style="width:15%;"><%= checked_image enumeration.is_default? %></td>
20 <td class="center" style="width:15%;"><%= checked_image enumeration.active? %></td>
20 <td class="center" style="width:15%;"><%= checked_image enumeration.active? %></td>
21 <td align="center" style="width:15%;"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td>
21 <td class="reorder"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td>
22 <td class="buttons">
22 <td class="buttons">
23 <%= delete_link enumeration_path(enumeration) %>
23 <%= delete_link enumeration_path(enumeration) %>
24 </td>
24 </td>
@@ -25,7 +25,7
25 <% end %>
25 <% end %>
26 <td align="center"><%= checked_image status.is_default? %></td>
26 <td align="center"><%= checked_image status.is_default? %></td>
27 <td align="center"><%= checked_image status.is_closed? %></td>
27 <td align="center"><%= checked_image status.is_closed? %></td>
28 <td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
28 <td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
29 <td class="buttons">
29 <td class="buttons">
30 <%= delete_link issue_status_path(status) %>
30 <%= delete_link issue_status_path(status) %>
31 </td>
31 </td>
@@ -12,7 +12,7
12 <tr class="<%= cycle 'odd', 'even' %>">
12 <tr class="<%= cycle 'odd', 'even' %>">
13 <td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
13 <td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
14 <td><%=h board.description %></td>
14 <td><%=h board.description %></td>
15 <td align="center">
15 <td class="reorder">
16 <% if authorize_for("boards", "edit") %>
16 <% if authorize_for("boards", "edit") %>
17 <%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
17 <%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
18 <% end %>
18 <% end %>
@@ -15,7 +15,7
15 <% for role in @roles %>
15 <% for role in @roles %>
16 <tr class="<%= cycle("odd", "even") %>">
16 <tr class="<%= cycle("odd", "even") %>">
17 <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
17 <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(h(role.name), edit_role_path(role))) %></td>
18 <td align="center" style="width:15%;">
18 <td class="reorder">
19 <% unless role.builtin? %>
19 <% unless role.builtin? %>
20 <%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
20 <%= reorder_links('role', {:action => 'update', :id => role}, :put) %>
21 <% end %>
21 <% end %>
@@ -23,7 +23,7
23 </span>
23 </span>
24 <% end %>
24 <% end %>
25 </td>
25 </td>
26 <td align="center" style="width:15%;">
26 <td class="reorder">
27 <%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
27 <%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
28 </td>
28 </td>
29 <td class="buttons">
29 <td class="buttons">
@@ -129,6 +129,7 table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
129 table.list td.checkbox input {padding:0px;}
129 table.list td.checkbox input {padding:0px;}
130 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
130 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
131 table.list td.buttons a { padding-right: 0.6em; }
131 table.list td.buttons a { padding-right: 0.6em; }
132 table.list td.reorder {width:15%; white-space:nowrap; text-align:center; }
132 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
133 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
133
134
134 tr.project td.name a { white-space:nowrap; }
135 tr.project td.name a { white-space:nowrap; }
General Comments 0
You need to be logged in to leave comments. Login now