-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: proper logic structure, handle edge case
- Loading branch information
Showing
6 changed files
with
48 additions
and
41 deletions.
There are no files selected for viewing
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
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 +1 @@ | ||
__version__ = "1.0.4" | ||
__version__ = "1.1.0" |
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
File renamed without changes.
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
12 changes: 12 additions & 0 deletions
12
pretix_order_checkin/templates/pretix_order_checkin/delete_check_in_button.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% load i18n %} | ||
{% load bootstrap3 %} | ||
|
||
<form method="post" action="{% url "control:event.orders.checkinlists.bulk_revert" event=event.slug organizer=event.organizer.slug list=checkinlist.pk %}" class="form-inline helper-display-inline"> | ||
<input name="returnquery" type="hidden" value="{{ returnquery }}"> | ||
<input name="checkin" type="hidden" value="{{ item }}"> | ||
{% csrf_token %} | ||
<button class="btn btn-xs btn-danger" type="submit" name="revert" value="true"> | ||
<span class="fa fa-trash"></span> | ||
{% trans "Delete Check-in" %} | ||
</button> | ||
</form> |