mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Adding column for enterprise limit on users index page
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
/ insert_before "td[data-hook='admin_users_index_row_actions']"
|
||||
|
||||
%td.user_enterprise_limit= user.enterprise_limit
|
||||
@@ -0,0 +1,3 @@
|
||||
/ insert_before "th[data-hook='admin_users_index_header_actions']"
|
||||
|
||||
%th= sort_link @search,:enterprise_limit, t(:enterprise_limit)
|
||||
@@ -0,0 +1,6 @@
|
||||
/ replace "table#listing_users colgroup"
|
||||
|
||||
%colgroup
|
||||
%col{ style: "width: 65%" }
|
||||
%col{ style: "width: 20%" }
|
||||
%col{ style: "width: 15%" }
|
||||
Reference in New Issue
Block a user