Skip to content

Commit

Permalink
make sure resource modal also has resource id
Browse files Browse the repository at this point in the history
  • Loading branch information
zelima committed Feb 8, 2019
1 parent 0d57c81 commit 092994a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/vrr/templates/package/resource_read.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% if res.url and h.is_url(res.url) %}
<li>
{% if not c.user %}
<a a class="btn btn-primary resource-url-analytics resource-type-{{ res.resource_type }}" data-toggle="modal" data-target="#terms">
<a a class="btn btn-primary resource-url-analytics resource-type-{{ res.resource_type }}" data-toggle="modal" data-target="#terms-{{res.id}}">
{% else %}
<a class="btn btn-primary resource-url-analytics resource-type-{{ res.resource_type }}" href="{{ res.url }}">
{% endif %}
Expand Down

0 comments on commit 092994a

Please sign in to comment.