diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-04-06 17:15:17 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-04-06 17:15:17 +0100 |
commit | 863eb63ae0db937a444e5e76aac8e3a16cec1d13 (patch) | |
tree | 845713ae3458b45f8d19feeeafbd969bc48a5899 /ctrack | |
parent | 1b58c78fbc51de5ddfe8935f3e784d01a82c2bcb (diff) |
fixed problem with link to organisation
Diffstat (limited to 'ctrack')
-rw-r--r-- | ctrack/caf/templates/caf/caf_detail.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html index 398abf4..185eb0d 100644 --- a/ctrack/caf/templates/caf/caf_detail.html +++ b/ctrack/caf/templates/caf/caf_detail.html @@ -25,7 +25,7 @@ <table class="table"> <tr> <td><strong>Organisation</strong></td> - <td><a href="{% url 'organisations:detail' object.pk %}">{{ organisation }}</a></td> + <td><a href="{% url 'organisations:detail' organisation.slug %}">{{ organisation }}</a></td> </tr> <tr> <td><strong>Quality Grading:</strong></td> |