mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-04 03:47:06 +00:00
feat(people): Add detail views for Person and Relationship
This commit is contained in:
29
people/templates/people/relationship/detail.html
Normal file
29
people/templates/people/relationship/detail.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<h1>
|
||||
<a href="#">Relationships</a> /
|
||||
{{ object }}
|
||||
</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="row align-content-center">
|
||||
<div class="col-md-6">
|
||||
<h2>Source</h2>
|
||||
{{ relationship.source }}
|
||||
|
||||
<a class="btn btn-sm btn-info"
|
||||
href="{% url 'people:person.detail' pk=relationship.source.pk %}">Profile</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h2>Target</h2>
|
||||
{{ relationship.target }}
|
||||
|
||||
<a class="btn btn-sm btn-info"
|
||||
href="{% url 'people:person.detail' pk=relationship.target.pk %}">Profile</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user