From 879060a17192430ee63820364ed061097f093068 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Sat, 8 Aug 2015 16:53:55 +0300 Subject: [PATCH] Added link to event_detail page --- RIGS/templates/RIGS/event_detail.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/RIGS/templates/RIGS/event_detail.html b/RIGS/templates/RIGS/event_detail.html index 81658663..c5d63789 100644 --- a/RIGS/templates/RIGS/event_detail.html +++ b/RIGS/templates/RIGS/event_detail.html @@ -29,6 +29,14 @@ class="glyphicon glyphicon-gbp"> {% endif %} + {% url 'form_list' event_pk=event.pk as forms_url %} + {% if forms_url %} + {% if perms.rigForms.view_form %} + + {% endif %} + {% endif %} {% endif %} @@ -194,6 +202,14 @@ class="glyphicon glyphicon-gbp"> {% endif %} + {% url 'form_list' event_pk=event.pk as forms_url %} + {% if forms_url %} + {% if perms.rigForms.view_form %} + + {% endif %} + {% endif %} {% endif %} @@ -231,6 +247,14 @@ class="glyphicon glyphicon-gbp"> {% endif %} + {% url 'form_list' event_pk=event.pk as forms_url %} + {% if forms_url %} + {% if perms.rigForms.view_form %} + + {% endif %} + {% endif %} {% endif %}