group_names_clickable.diff

Bernhard Rohloff, 2020-02-06 18:04

Download (1.5 KB)

View differences:

app/views/roles/permissions.html.erb
49 49
    <% unless mod.blank? %>
50 50
        <tr class="group open">
51 51
          <td>
52
            <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
53
            <%= l_or_humanize(mod, :prefix => 'project_module_') %>
52
            <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">
53
              <%= l_or_humanize(mod, :prefix => 'project_module_') %>
54
            </span>
54 55
          </td>
55 56
          <% @roles.each do |role| %>
56 57
          <td class="role"><%= role.name %></td>
public/stylesheets/application.css
297 297
tr.entry.file td.filename a { margin-left: 16px; }
298 298
tr.entry.file td.filename_no_report a { margin-left: 16px; }
299 299

  
300
tr span.expander, .gantt_subjects div > span.expander {background-position: 2px 50%; padding-left: 8px; margin-left: 0; cursor: pointer;}
300
tr span.expander, .gantt_subjects div > span.expander {background-position: 2px 50%; padding-left: 1.5em; margin-left: 0; cursor: pointer;}
301 301
.gantt_subjects div > span.expander {padding-left: 12px;}
302 302
.gantt_subjects div > span .icon-gravatar {float: none;}
303 303