diff --git a/ckanext/dcor_schemas/templates/package/edit_base.html b/ckanext/dcor_schemas/templates/package/edit_base.html new file mode 100644 index 0000000..1df3e7a --- /dev/null +++ b/ckanext/dcor_schemas/templates/package/edit_base.html @@ -0,0 +1,9 @@ +{% ckan_extends %} + +{% block content_primary_nav %} + {{ h.build_nav_icon(pkg.type ~ '.edit', _('Edit metadata'), id=pkg.name, icon='pencil-square-o') }} + {# {{ h.build_nav_icon(pkg.type ~ '.resources', _('Resources'), id=pkg.name, icon='bars') }} #} + {% if h.check_config_permission('allow_dataset_collaborators') and h.check_access('package_collaborator_create', {'id': pkg_dict.id}) %} + {{ h.build_nav_icon(pkg.type ~ '.collaborators_read', _('Collaborators'), id=pkg.name, icon='users')}} + {% endif %} +{% endblock %} \ No newline at end of file