diff --git a/ckan/templates/package/snippets/data_api_button.html b/ckan/templates/package/snippets/data_api_button.html index 64000cd9eb7..bec39a37850 100644 --- a/ckan/templates/package/snippets/data_api_button.html +++ b/ckan/templates/package/snippets/data_api_button.html @@ -4,7 +4,7 @@ datastore_root_url: the root url of the datastore #} -{% if true or resource.webstore_url %} +{% if resource.webstore_url %} {% set loading_text = _('Loading...') %} {% set api_info_url = h.url_for(controller='api', action='snippet', ver=1, snippet_path='api_info.html', datastore_root_url=datastore_root_url, resource_id=resource.id) %} Data API