SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 25209337 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Allow superuser to make hyperref'd motions

parent 2fdad5ad
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,11 @@
<h3 class="pt-0 mb-2">put forward on {{ motion.date|date:"Y-m-d" }} by {{ motion.put_forward_by.user.first_name }} {{ motion.put_forward_by.user.last_name }}</h3>
<h3>Background:</h3>
{% if motion.put_forward_by.user.is_superuser %}
<div>{{ motion.background|safe|linebreaks }}</div>
{% else %}
<div>{{ motion.background|linebreaks }}</div>
{% endif %}
<h3>Motion:</h3>
<div>{{ motion.motion|linebreaks }}</div>
......
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