Skip to content

Commit

Permalink
[#362] Fix broken test code
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Feb 18, 2013
1 parent e8eb4ad commit 0fe7579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/package/snippets/data_api_button.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) %}
<a class="btn btn-success" href="{{ api_info_url }}" data-module="api-info" data-module-template="{{ api_info_url }}" data-loading-text="{{ loading_text }}"><i class="icon-beaker icon-large"></i> Data API</a>
Expand Down

0 comments on commit 0fe7579

Please sign in to comment.