{% ckan_extends %} {# One tab "Actor registry" in Administration (/ckan-admin) that leads to the registry, whose pages show the Administration tabs and a submenu of their own (actor_registry/base.html). Turn the tab off with ckanext.actor_registry.admin_tab = false when the portal links to the registry from its own header. Core's Sysadmins/Config/Trash (and the tabs of the other plugins below this one in the chain) lead to pages only a sysadmin may open, so a page that all logged-in users reach (translation proposals) must not show them. #} {% block content_primary_nav %} {% if c.userobj and c.userobj.sysadmin %}{{ super() }}{% endif %} {% if h.actor_registry_admin_tab() and c.userobj and c.userobj.sysadmin %} {{ h.actor_registry_nav_item('actor_registry.actors_index', 'actor_registry.', _('Actor registry'), 'building') }} {% endif %} {% endblock %}