Skip to content

Commit

Permalink
Makes no results message work in all different contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin authored and tobes committed Mar 6, 2013
1 parent 83c20d3 commit cf471c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/templates/package/search.html
Expand Up @@ -58,9 +58,9 @@
{% endfor %}
</div>
{% if request.params and c.page.item_count == 0 %}
<p class="extra">Try another search term,
browse the datasets below or <a href="{{ h.url_for(controller='package', action='new') }}">{{ _('add your own data') }}</a>.
</p>
{% trans %}
<p class="extra">Please try another search.</p>
{% endtrans %}
{% endif %}
</div>

Expand Down

0 comments on commit cf471c1

Please sign in to comment.