diff --git a/bin/lib/ail_orgs.py b/bin/lib/ail_orgs.py index 8dad34f9..e3ba4ea4 100755 --- a/bin/lib/ail_orgs.py +++ b/bin/lib/ail_orgs.py @@ -309,7 +309,7 @@ def check_acl_edit_level(obj, user_org, user_id, user_role, new_level): def api_get_orgs_meta(): meta = {'orgs': []} - options = {'date_created', 'description', 'name'} + options = {'date_created', 'description', 'name', 'nb_users'} for org_uuid in get_orgs(): org = Organisation(org_uuid) meta['orgs'].append(org.get_meta(options=options)) diff --git a/var/www/templates/settings/orgs_list.html b/var/www/templates/settings/orgs_list.html index a5cddfc5..8e66ab13 100644 --- a/var/www/templates/settings/orgs_list.html +++ b/var/www/templates/settings/orgs_list.html @@ -35,6 +35,7 @@ uuid Description Created at + Nb Users Actions @@ -49,6 +50,7 @@ {{org['date_created']}} {% endif %} + {{org['nb_users']}}
{# #}