From 0fe757949f244ab935e49c619f2603e16659e29b Mon Sep 17 00:00:00 2001 From: tobes Date: Mon, 18 Feb 2013 12:44:20 +0000 Subject: [PATCH] [#362] Fix broken test code --- ckan/templates/package/snippets/data_api_button.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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