Skip to content

Commit

Permalink
[#2677] Viewing a related item now opens in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 16, 2012
1 parent 9dbf936 commit f8da5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/related/snippets/related_item.html
Expand Up @@ -17,7 +17,7 @@ <h3 class="media-heading">
{% else %}
<p class="empty">{{ _('This item has no description') }}</p>
{% endif %}
<a class="btn btn-small btn-primary" href="{{ related.url }}">{{ _('Go to {type}').format(type=related.type|replace('_', ' ')|title) }}</a>
<a class="btn btn-small btn-primary" href="{{ related.url }}" target="_blank">{{ _('Go to {type}').format(type=related.type|replace('_', ' ')|title) }}</a>
{{ h.nav_link(_('Edit'), controller='related', action='edit', id=c.pkg.name, related_id=related.id, class_='btn btn-small') }}
</div>
</li>

0 comments on commit f8da5b7

Please sign in to comment.