Skip to content
Snippets Groups Projects
Commit f318c498 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Make sure the next box appears when no other submissions

parent f1b6a682
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
{% block reviews %} {% block reviews %}
{% endblock %} {% endblock %}
{% if other_submissions or object.previous %} {% if other_submissions or object.previous of object.next %}
<div class="sidebar__inner"> <div class="sidebar__inner">
{% if object.previous %} {% if object.previous %}
<h6><a class="link link--underlined link--bold" href="{% url 'funds:submissions:detail' object.previous.id %}">View linked {{ object.previous.stage }}</a></h6> <h6><a class="link link--underlined link--bold" href="{% url 'funds:submissions:detail' object.previous.id %}">View linked {{ object.previous.stage }}</a></h6>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment