From f54c6eacdebc7865d619f04d5a581a2edab0c5df Mon Sep 17 00:00:00 2001 From: blagoja Date: Thu, 14 Nov 2024 10:30:39 +0100 Subject: [PATCH] Organization template overwrite --- ckanext/alisea/templates/organization/index.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ckanext/alisea/templates/organization/index.html diff --git a/ckanext/alisea/templates/organization/index.html b/ckanext/alisea/templates/organization/index.html new file mode 100644 index 0000000..1ad5f49 --- /dev/null +++ b/ckanext/alisea/templates/organization/index.html @@ -0,0 +1,9 @@ +{% ckan_extends %} + +{% block page_primary_action %} +
+ {% if h.check_access('organization_create') %} + {% link_for h.humanize_entity_type('organization', group_type, 'add link') or _('Add Organization'), named_route=group_type ~ '.new', class_='btn btn-primary', icon='plus-square' %} + {% endif %} +
+{% endblock %}