Make admin sorting more obvious
This commit is contained in:
parent
2b79706d6d
commit
bf13579b92
8 changed files with 68 additions and 20 deletions
|
@ -22,7 +22,9 @@
|
|||
%table
|
||||
%thead
|
||||
%th Admin
|
||||
%th Name
|
||||
%th
|
||||
Name
|
||||
%i.icon-sort-down
|
||||
%th Username
|
||||
%th Email
|
||||
%th Projects
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
= @admin_user.twitter
|
||||
|
||||
%br
|
||||
%h3 Add User to Projects
|
||||
%h5 Add User to Projects
|
||||
%br
|
||||
= form_tag team_update_admin_user_path(@admin_user), class: "bulk_import", method: :put do
|
||||
%table
|
||||
|
@ -86,8 +86,22 @@
|
|||
%strong= link_to "here", help_permissions_path, class: "vlink"
|
||||
%br
|
||||
|
||||
- if @admin_user.groups.present?
|
||||
%h5 Owner of groups:
|
||||
%br
|
||||
|
||||
%table.zebra-striped
|
||||
%thead
|
||||
%tr
|
||||
%th Name
|
||||
|
||||
- @admin_user.groups.each do |group|
|
||||
%tr
|
||||
%td= link_to group.name, admin_group_path(group)
|
||||
|
||||
|
||||
- if @admin_user.projects.present?
|
||||
%h3 Projects
|
||||
%h5 Projects:
|
||||
%br
|
||||
|
||||
%table.zebra-striped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue