Skip to content

Commit

Permalink
Adds URL to the resource page just below the title
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin authored and tobes committed Mar 6, 2013
1 parent 38272d7 commit 83c20d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ckan/templates/package/resource_read.html
Expand Up @@ -42,6 +42,11 @@
<div class="module-content">
{% block resource_content %}
{% block resource_read_title %}<h1 class="page-heading">{{ h.resource_display_name(res) | truncate(50) }}</h1>{% endblock %}
{% block resource_read_url %}
{% if res.url %}
<p class="muted">{{ _('URL:') }} <a href="{{ res.url }}">{{ res.url }}</a></p>
{% endif %}
{% endblock %}
<div class="prose notes" property="rdfs:label">
{% if res.description %}
{{ h.render_markdown(res.description) }}
Expand Down

0 comments on commit 83c20d3

Please sign in to comment.