Skip to content

Commit

Permalink
[#1882] Fix org link in dataset page
Browse files Browse the repository at this point in the history
Replaced use of `with` in the snippet.
  • Loading branch information
amercader committed Aug 13, 2014
1 parent 1d96488 commit 9aa870e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ckan/templates/snippets/organization.html
Expand Up @@ -14,7 +14,9 @@

#}

{% with truncate=truncate or 0, url=h.url_for(controller='organization', action='read', id=organization.name) %}
{% set truncate = truncate or 0 %}
{% set url = h.url_for(controller='organization', action='read', id=organization.name) %}

{% block info %}
<div class="module module-narrow module-shallow context-info">
{% if has_context_title %}
Expand Down Expand Up @@ -65,4 +67,3 @@ <h1 class="heading">{{ organization.title or organization.name }}</h1>
</section>
</div>
{% endblock %}
{% endwith %}

0 comments on commit 9aa870e

Please sign in to comment.