Skip to content

Commit

Permalink
fix(apis_entities): show enrich link only for external URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Dec 4, 2024
1 parent 294627a commit 8268290
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ <h5 class="card-title">Linked Open Data</h5>
<li>
{{ uri.uri | urlize }}
{% if object.get_change_permission in perms %}
| <a href="{{ object.get_enrich_url }}?uri={{ uri.uri }}" class="small">... merge data</a>
{% if not uri.internal %}
| <a href="{{ object.get_enrich_url }}?uri={{ uri.uri }}" class="small">... merge data</a>
{% endif %}
{% endif %}
</li>
{% endfor %}
Expand Down

0 comments on commit 8268290

Please sign in to comment.