Skip to content

Commit

Permalink
Avoid concurrent round motion from being released prematurely
Browse files Browse the repository at this point in the history
  • Loading branch information
tienne-B committed Oct 25, 2024
1 parent 7dbd247 commit 399c6c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tabbycat/participants/templates/current_round/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
{# Motions #}
{% if pref.public_motions or admin_page %}
<div class="list-group-item {% if not pref.public_motions or not current_round.motions_released %}list-group-item-dark{% endif %}">
{% if current_round.motions_released or admin_page %}
{% if not current_round.motions_released %}
{% if debate.round.motions_released or admin_page %}
{% if not debate.round.motions_released %}
<em>{% trans "Motions are not released to public." %}</em><br />
{% endif %}
{% if debate.round.motion_set.all|length == 1 %}
Expand Down Expand Up @@ -82,8 +82,8 @@ <h6>Motions</h6>
{% endfor %}
</ol>
{% endif %}
{% else %} {# elif not (current_round.motions_released or admin_page) #}
{% else %} {# elif not (debate.round.motions_released or admin_page) #}
<em>{% trans "The motion(s) for this round haven't yet been released." %}</em>
{% endif %} {# current_round.motions_released or admin_page #}
{% endif %} {# debate.round.motions_released or admin_page #}
</div>
{% endif %} {# pref.public_motions or admin_page #}

0 comments on commit 399c6c9

Please sign in to comment.