diff --git a/ckan/templates/package/resource_read.html b/ckan/templates/package/resource_read.html index 960881810dc..2e36ac820ec 100644 --- a/ckan/templates/package/resource_read.html +++ b/ckan/templates/package/resource_read.html @@ -32,6 +32,7 @@ {% endif %} {% if res.url and h.is_url(res.url) %}
  • +
    {% if res.resource_type in ('listing', 'service') %} {{ _('View') }} @@ -43,6 +44,24 @@ {{ _('Download') }} {% endif %} + {%if res.url_type == 'upload' and res.datastore_active %} + + + {%endif%} +
  • {% endif %} {% endblock %}