We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442cce5 commit c851014Copy full SHA for c851014
pytition/petition/templates/layouts/nav.html
@@ -49,6 +49,7 @@
49
</div>
50
</nav>
51
52
+{% if petition %}
53
<div class="modal fade" id="report_modal"
54
data-report-success="{% trans "Thank you for your reporting!" %}"
55
data-report-failure="{% trans "Reporting failed, please retry later." %}">
@@ -84,5 +85,5 @@ <h4 class="modal-title">{% trans "Report this petition to moderation" %}</h4>
84
85
86
87
-
88
+{% endif %}
89
{% endblock %}
0 commit comments