Skip to content

Commit

Permalink
[#2804] Download button is now blue
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Aug 6, 2012
1 parent 8b72d1f commit 38f824b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/package/resource_read.html
Expand Up @@ -20,7 +20,7 @@

{% if res.url %}
<li>
<a class="btn resource-url-analytics resource-type-{{ res.resource_type }}" href="{{ res.url }}">
<a class="btn btn-primary resource-url-analytics resource-type-{{ res.resource_type }}" href="{{ res.url }}">
{% if res.resource_type in ('listing', 'service') %}
{{ _('View') }}
{% elif res.resource_type == 'api' %}
Expand Down
4 changes: 2 additions & 2 deletions ckan/templates/package/snippets/data_api_button.html
Expand Up @@ -6,7 +6,7 @@
#}
{% if true or resource.webstore_url %}
{% set loading_text = _('Loading...') %}
<a class="btn btn-success" href="{% url_for controller='package', action='api_data', id=resource.id %}" data-module="api-info" data-module-template="{% url_for controller='api', action='snippet', ver=1, snippet_path='api_info.html', datastore_root_url=datastore_root_url %}" data-loading-text="{{ loading_text }}">Data API</a>
<a class="btn btn-success" href="{% url_for controller='package', action='api_data', id=resource.id %}" data-module="api-info" data-module-template="{% url_for controller='api', action='snippet', ver=1, snippet_path='api_info.html', datastore_root_url=datastore_root_url %}" data-loading-text="{{ loading_text }}"><i class="icon-beaker icon-large"></i> Data API</a>
{% else %}
<a class="btn disabled" rel="tooltip" title="Data API is unavailable for this resource as DataStore is disabled">Data API</a>
<a class="btn disabled" rel="tooltip" title="Data API is unavailable for this resource as DataStore is disabled"><i class="icon-beaker icon-large"></i> Data API</a>
{% endif %}
2 changes: 1 addition & 1 deletion ckan/templates/user/read.html
Expand Up @@ -13,7 +13,7 @@

{% block actions_content %}
{% if c.is_myself %}
<li>{% link_for _('Dashboard'), controller='user', action='dashboard', class_='btn', icon='user' %}</li>
<li>{% link_for _('Dashboard'), controller='user', action='dashboard', class_='btn', icon='dashboard' %}</li>
{% endif %}
{% if h.check_access('user_update', user) %}
<li>{% link_for _('Edit'), controller='user', action='edit', id=user.name, class_='btn', icon='cog' %}</li>
Expand Down

0 comments on commit 38f824b

Please sign in to comment.