From 70d2bb7841115117ea544468e8d1fe99d3f73fc5 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Mon, 18 Jun 2018 14:30:59 +0100 Subject: [PATCH] fixup! Refactor the urls to be cleaner --- opentech/apply/review/templates/review/review_detail.html | 2 +- opentech/apply/review/templates/review/review_form.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opentech/apply/review/templates/review/review_detail.html b/opentech/apply/review/templates/review/review_detail.html index 3b71fddfc..49b6eeee0 100644 --- a/opentech/apply/review/templates/review/review_detail.html +++ b/opentech/apply/review/templates/review/review_detail.html @@ -5,7 +5,7 @@ <div class="wrapper wrapper--breakout wrapper--admin"> <div class="wrapper wrapper--large"> <h2 class="heading heading--no-margin">Review</h2> - <h5>For <a href="{% url "funds:submission" review.submission.id %}">{{ review.submission.title }}</a></h5> + <h5>For <a href="{% url "funds:submissions:detail" review.submission.id %}">{{ review.submission.title }}</a></h5> </div> </div> diff --git a/opentech/apply/review/templates/review/review_form.html b/opentech/apply/review/templates/review/review_form.html index ec8fe019a..e1cf3f107 100644 --- a/opentech/apply/review/templates/review/review_form.html +++ b/opentech/apply/review/templates/review/review_form.html @@ -4,7 +4,7 @@ <div class="wrapper wrapper--breakout wrapper--admin"> <div class="wrapper wrapper--medium"> <h2 class="heading heading--no-margin">{{ title|default:"Create Review" }}</h2> - <h5>For <a href="{% url "funds:submissions:detail" submission.id %}">{{ submission.title }}</a></h5> + <h5>For <a href="{% url "funds:reviews:detail" submission.id %}">{{ submission.title }}</a></h5> </div> </div> -- GitLab