diff --git a/ckan/templates/user/read_groups.html b/ckan/templates/user/read_groups.html index 8e7b78b53dd..f3c54e7b067 100644 --- a/ckan/templates/user/read_groups.html +++ b/ckan/templates/user/read_groups.html @@ -1,6 +1,12 @@ {% extends "user/read_base.html" %} +{% set user = user_dict %} {% set group_type = h.default_group_type('group') %} +{% set groups_available = h.groups_available(am_member=True, + include_dataset_count=True, + include_member_count=True, + user=user['name']) +%} {% block primary_content_inner %}

{{ h.humanize_entity_type('group', group_type, 'facet label') or _('Groups') }}