Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions S1/waitinglists/templates/waitinglists/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@ <h4>My Progress</h4>
Completed
{% else %}
{% if vals.1 %}
<a class="btn btn-outline-secondary btn-sm" href="{% url 'waiting_list' vals.0 %}">Retract</a>
<a
class="btn btn-outline-secondary btn-sm"
href="{% url 'waiting_list' vals.0 %}"
onclick="return confirm('Are you sure you want to retract your signup? Doing so removes you from the waiting list.');"
>
Retract
</a>
{% else %}
<a class="btn btn-outline-primary btn-sm" href=" {% url 'waiting_list' vals.0 %}">Sign up</a>
{% endif %}
Expand Down Expand Up @@ -176,4 +182,4 @@ <h5 class="card-title">{{ attendance.session.module.name }}</h5>


</div>
{% endblock %}
{% endblock %}