Adding column for enterprise limit on users index page

This commit is contained in:
Rob H
2014-09-11 11:42:00 +10:00
parent 9085741f3c
commit a3f7fc1202
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
/ insert_before "td[data-hook='admin_users_index_row_actions']"
%td.user_enterprise_limit= user.enterprise_limit

View File

@@ -0,0 +1,3 @@
/ insert_before "th[data-hook='admin_users_index_header_actions']"
%th= sort_link @search,:enterprise_limit, t(:enterprise_limit)

View File

@@ -0,0 +1,6 @@
/ replace "table#listing_users colgroup"
%colgroup
%col{ style: "width: 65%" }
%col{ style: "width: 20%" }
%col{ style: "width: 15%" }