Skip to content

Commit

Permalink
FEAT: add timer disclaimer (#294)
Browse files Browse the repository at this point in the history
* Canvis review volunteers (#293)

* clarified msgs

---------

Co-authored-by: Adri <119002051+AdriMM26@users.noreply.github.com>
  • Loading branch information
EncryptEx and AdriMM26 authored Feb 22, 2024
1 parent d962be1 commit 50720d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
17 changes: 12 additions & 5 deletions applications/templates/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,19 @@
</div>
{% endif %}
<div style="padding-left: 15px; padding-right: 15px">
<div class="alert alert-warning">
{% if application.can_be_edit %}
<p>It is still possible to modify your application.</p>
{% else %}
<p>Your application has been reviewed already. Editing has been disabled to make sure all reviewers get the
same data. If you would like to change something important, please email us at {{ h_contact_email|urlize }}.</p>
{% endif %}


<p>
Be careful, you can only edit the application during <b style="text-decoration: underline;">2 hours</b> after applying
</p>

{% else %}
<p>Your application has been reviewed already. Editing has been disabled to make sure all reviewers get the
same data. If you would like to change something important, please email us at {{ h_contact_email|urlize }}.</p>
{% endif %}
</div>
</div>
{% include 'include/application_form.html' %}

Expand Down
2 changes: 1 addition & 1 deletion applications/templates/include/application_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>

{% if not application or application.can_be_edit %}
<button class="btn btn-success btn-block" type="submit">{% if application %}Update application{% else %}
<button class="btn btn-success btn-block" type="submit" {% if application and not application.can_be_edit %} disabled {% endif %}>{% if application %}Update application{% else %}
Submit application{% endif %}</button>

{% endif %}
Expand Down
3 changes: 2 additions & 1 deletion organizers/templates/other_application_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h3>Volunteering</h3>
{% if not app.first_time_volunteer %}
{% include 'include/field.html' with desc='Other editions' value=app.which_hack %}
{% endif %}
{% include 'include/field.html' with desc='English Level' value=app.english_level %}
{% include 'include/field.html' with desc='Languages' value=app.languages %}
{% include 'include/field.html' with desc='Attendance' value=app.attendance %}
{% include 'include/field.html' with desc='Motivation' value=app.volunteer_motivation %}
<hr>
Expand All @@ -57,6 +57,7 @@ <h3>Other questions</h3>
{% include 'include/field.html' with desc='T-shirt size' value=app.tshirt_size %}
{% include 'include/field.html' with desc='Dietary restrictions' value=app.diet %}
{% include 'include/field.html' with desc='Other diet' value=app.other_diet %}
{% include 'include/field.html' with desc='How you meet us' value=app.hear_about_us %}
<hr>
<dt>
<h3>Extra</h3>
Expand Down

0 comments on commit 50720d0

Please sign in to comment.