From ab1e0f6848b9814212114910abee4b4c54adde3f Mon Sep 17 00:00:00 2001 From: anonymous <anonymous> Date: Tue, 5 Mar 2019 11:02:29 +0100 Subject: [PATCH] ODPSH-326: add button --- ckanext/odsh/templates/package/read.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ckanext/odsh/templates/package/read.html b/ckanext/odsh/templates/package/read.html index 0a2c0cb7..a13fbce9 100644 --- a/ckanext/odsh/templates/package/read.html +++ b/ckanext/odsh/templates/package/read.html @@ -42,6 +42,9 @@ {% link_for _('Manage Dataset'), controller='package', action='edit', id=pkg.name, class_='btn btn-primary', icon='wrench' %} </div> + <div> + {% link_for _('Add new resource'), controller='package', action='new_resource', id=c.pkg_dict.name, class_='btn btn-primary', icon='plus' %} + </div> {% endif %} {% if pkg.private %} <span class="dataset-private label label-inverse"> -- GitLab