mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
feat: add view to end relationship
This commit is contained in:
@@ -13,7 +13,15 @@
|
||||
<tbody>
|
||||
{% for relationship in person.relationships_as_source.all %}
|
||||
<tr>
|
||||
<td>{{ relationship.target }}</td>
|
||||
<td>
|
||||
{% if relationship.is_current %}
|
||||
{{ relationship.target }}
|
||||
{% else %}
|
||||
<del>
|
||||
{{ relationship.target }}
|
||||
</del>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
<a class="btn btn-sm btn-info"
|
||||
href="{% url 'people:person.detail' pk=relationship.target.pk %}">Profile</a>
|
||||
|
||||
Reference in New Issue
Block a user