@@ -3,7 +3,7 | |||
|
3 | 3 | <% form_tag(permissions_roles_path, :id => 'permissions_form') do %> |
|
4 | 4 | <%= hidden_field_tag 'permissions[0]', '', :id => nil %> |
|
5 | 5 | <div class="autoscroll"> |
|
6 | <table class="list"> | |
|
6 | <table class="list permissions"> | |
|
7 | 7 | <thead> |
|
8 | 8 | <tr> |
|
9 | 9 | <th><%=l(:label_permissions)%></th> |
@@ -21,10 +21,13 | |||
|
21 | 21 | <% perms_by_module.keys.sort.each do |mod| %> |
|
22 | 22 | <% unless mod.blank? %> |
|
23 | 23 | <tr class="group open"> |
|
24 | <td colspan="<%= @roles.size + 1 %>"> | |
|
24 | <td> | |
|
25 | 25 | <span class="expander" onclick="toggleRowGroup(this);"> </span> |
|
26 | 26 | <%= l_or_humanize(mod, :prefix => 'project_module_') %> |
|
27 | 27 | </td> |
|
28 | <% @roles.each do |role| %> | |
|
29 | <td class="role"><%= h(role.name) %></td> | |
|
30 | <% end %> | |
|
28 | 31 | </tr> |
|
29 | 32 | <% end %> |
|
30 | 33 | <% perms_by_module[mod].each do |permission| %> |
@@ -202,6 +202,8 tr.user td { white-space: nowrap; } | |||
|
202 | 202 | tr.user.locked, tr.user.registered { color: #aaa; } |
|
203 | 203 | tr.user.locked a, tr.user.registered a { color: #aaa; } |
|
204 | 204 | |
|
205 | table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;} | |
|
206 | ||
|
205 | 207 | tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;} |
|
206 | 208 | |
|
207 | 209 | tr.time-entry { text-align: center; white-space: nowrap; } |
General Comments 0
You need to be logged in to leave comments.
Login now