Skip to content

Commit

Permalink
feat(apis_entities): add a link to the enrich uri to all linked URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Oct 2, 2024
1 parent 9e8fe5c commit c0b459d
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<h5 class="card-title">Linked Open Data</h5>
{% if object.uri_set %}
<ul>
{% for uri in object.uri_set.all %}<li>{{ uri.uri | urlize }}</li>{% endfor %}
{% for uri in object.uri_set.all %}
<li>
{{ uri.uri | urlize }}
{% if object.get_change_permission in perms %}
<a href="{{ object.get_enrich_url }}?uri={{ uri.uri }}"><span class="material-symbols-outlined">update</span></a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}

0 comments on commit c0b459d

Please sign in to comment.