add public url to this report

This commit is contained in:
Laura Klünder 2019-12-24 19:07:55 +01:00
parent 698aef7100
commit fc650dc41a

View file

@ -5,7 +5,8 @@
<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><em> <p>
<em>
{% if report.open %} {% if report.open %}
<strong class="green">{% trans 'open' %}</strong> <strong class="green">{% trans 'open' %}</strong>
{% else %} {% else %}
@ -19,7 +20,10 @@
{% endif %} {% endif %}
{{ report.created }} {{ report.created }}
</em></p> </em>
<br>
<a href="{% url 'site.report_detail' pk=report.pk secret=report.secret %}">{% trans 'public URL to this report' %}</a>
</p>
{% include 'site/fragment_report_meta.html' %} {% include 'site/fragment_report_meta.html' %}
{% for field in form %} {% for field in form %}