aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-24 16:11:48 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-24 16:11:48 +0100
commit57f241264d15aac3a015dd8a29c994c1ee691932 (patch)
tree49dfb7d3148644daa3d46f37b8f7d09def56b156
parent2fa3b7134661deb201b1a9a9a907f0a8051640be (diff)
added links back to person and organisation
-rw-r--r--ctrack/organisations/templates/organisations/contact_history.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/organisations/templates/organisations/contact_history.html b/ctrack/organisations/templates/organisations/contact_history.html
index 4768331..ffb7c60 100644
--- a/ctrack/organisations/templates/organisations/contact_history.html
+++ b/ctrack/organisations/templates/organisations/contact_history.html
@@ -22,7 +22,8 @@
<div class="col-12 m-2">
<div class="row">
<div class="col-12 mb-2">
- <h3>Contact history for {{ person }} | <span class="text-muted">{{ person.organisation.name }}</span></h3>
+ <h3>Contact history for <a href="{% url "organisations:person-detail" person.pk %}">{{ person }}</a> | <span class="text-muted"><a
+ href="{% url "organisations:detail" person.organisation.slug %}">{{ person.organisation.name }}</a></span></h3>
</div>
</div>
<div class="row justify-content-center">