fix: Be a little clearer when feedback is closed (or not yet open). (#5861)

This commit is contained in:
Paul Selkirk 2023-06-22 09:13:32 -04:00 committed by GitHub
parent f1710e21b0
commit 53b5e23612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,13 +9,20 @@
<p id="instructions" class="alert alert-info my-3">
{% if nomcom.group.state_id == 'conclude' %}
Feedback to this NomCom is closed.
{% elif positions|length != 0 and topics|length != 0 %}
Select a nominee or topic from the list on the right to obtain a new feedback form.
{% elif positions|length != 0 %}
Select a nominee from the list on the right to obtain a new feedback form.
{% elif topics|length != 0 %}
Select a topic from the list on the right to obtain a new feedback form.
{% else %}
Select a nominee from the list of nominees on the right to obtain a new feedback form.
This NomCom is not accepting feedback at this time.
{% endif %}
</p>
{% if nomcom|has_publickey %}
<div class="row">
<div id="nominees" class="col-sm-2 order-last">
{% if positions|length != 0 %}
<h2 class="navskip mt-4">Nominees</h2>
<p>
A number after a name indicates
@ -43,6 +50,8 @@
</div>
{% endif %}
{% endfor %}
{% endif %}
{% if topics|length != 0 %}
<h2 class="navskip mt-4">Topics</h2>
<div class="d-grid gap-3">
{% for t in topics %}
@ -58,6 +67,7 @@
</a>
{% endfor %}
</div>
{% endif %}
</div>
<div class="col-sm-10">
{% if form %}