back link in report details

This commit is contained in:
Laura Klünder 2019-12-25 10:50:38 +01:00
parent bc3806c53e
commit ee5e7c7695
2 changed files with 5 additions and 1 deletions

View file

@ -5,6 +5,10 @@
<main class="account"> <main class="account">
{% include 'site/fragment_messages.html' %} {% include 'site/fragment_messages.html' %}
<h2>{% trans 'Report' %}: {{ report.title }}</h2> <h2>{% trans 'Report' %}: {{ report.title }}</h2>
<p>
<a href="{% url 'site.report_list' filter='all' %}">{% trans 'show all reports' %}</a>
<a href="{% url 'site.report_list' filter='open' %}">{% trans 'show open reports' %}</a>
</p>
<p> <p>
<em> <em>
{% if report.open %} {% if report.open %}

View file

@ -9,7 +9,7 @@
<p><a href="{% url 'site.report_list' filter='all' %}">{% trans 'show all reports' %}</a></p> <p><a href="{% url 'site.report_list' filter='all' %}">{% trans 'show all reports' %}</a></p>
{% else %} {% else %}
<h2>{% trans 'All reports' %}</h2> <h2>{% trans 'All reports' %}</h2>
<p><a href="{% url 'site.report_list' filter='all' %}">{% trans 'show open reports' %}</a></p> <p><a href="{% url 'site.report_list' filter='open' %}">{% trans 'show open reports' %}</a></p>
{% endif %} {% endif %}
{% include 'site/fragment_pagination.html' with objects=reports %} {% include 'site/fragment_pagination.html' with objects=reports %}