Skip to content

Commit

Permalink
Open relation predicate in a new tab
Browse files Browse the repository at this point in the history
closes #245
  • Loading branch information
gythaogg committed Dec 18, 2024
1 parent 658408c commit f6cbe29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis_ontology/templates/columns/relation_predicate.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% if record.forward %}
<a href="{{ record.obj.get_absolute_url }}" style="{{ highlight_style }}">
<a href="{{ record.obj.get_absolute_url }}" target="_blank" style="{{ highlight_style }}">
{{ record.obj }}
</a>
{% else %}
<a href="{{ record.subj.get_absolute_url }}" style="{{ highlight_style }}">
<a href="{{ record.subj.get_absolute_url }}" target="_blank" style="{{ highlight_style }}">
{{ record.subj }}
</a>
{% endif %}

0 comments on commit f6cbe29

Please sign in to comment.