-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
15 changes: 11 additions & 4 deletions
15
evap/student/templates/student_index_evaluate_or_drop.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
<a class="btn btn-sm btn-primary btn-row-hover" href="{% url 'student:vote' evaluation.id %}">{% translate 'Evaluate' %}</a> | ||
<!-- TODO@felix: confirmation modal --> | ||
<a class="btn btn-sm btn-secondary" title="{% translate 'I dropped this course' %}" data-bs-toggle="tooltip" data-bs-placement="top" href="{% url 'student:drop' evaluation.id %}"> | ||
<span class="fas fa-user-xmark"></span> | ||
<a class="btn btn-sm btn-primary btn-row-hover" href="{% url 'student:vote' evaluation.id %}"> | ||
{% translate 'Evaluate' %} | ||
</a> | ||
<confirmation-modal> | ||
<span slot="title">{% translate 'Did you drop this course?' %}</span> | ||
<span slot="question">{% translate 'If you mark this course as dropped, you can still give feedback, but ...' %}</span> | ||
<!-- TODO@Felix: explanatory text --> | ||
<a class="btn btn-danger ms-2" slot="submit-group" href="{% url 'student:drop' evaluation.id %}">{% translate 'I dropped this course' %}</a> | ||
<button slot="show-button" class="btn btn-sm btn-secondary" title="{% translate 'I dropped this course' %}" data-bs-toggle="tooltip" data-bs-placement="top"> | ||
<span class="fas fa-user-xmark"></span> | ||
</button> | ||
</confirmation-modal> |