Skip to content

Commit

Permalink
[#2692] Fix link to create new dataset on search page
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 17, 2012
1 parent 9ae7f13 commit 515c36a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ckan/public/base/less/dataset.less
Expand Up @@ -60,8 +60,9 @@
// the input.
.results strong:before {
float: right;
content: "";
content: " ";
width: 280px;
white-space: pre;
}


Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/package/search.html
Expand Up @@ -54,7 +54,7 @@
</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(action='new', id=None) }}">{{ _('add your own data') }}</a>.
browse the datasets below or <a href="{{ h.url_for(controller='package', action='new') }}">{{ _('add your own data') }}</a>.
</p>
{% endif %}
</div>
Expand Down

0 comments on commit 515c36a

Please sign in to comment.