forked from fossasia/eventyay-tickets
-
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.
Fix docker build - Internal error (fossasia#410)
* upgrade django version from 4.2 to 5.1 * Fix Dockerfile and isort in pipeline * Fix Dockerfile in pipeline * reverse docker change * fix docker build * fix missing static import --------- Co-authored-by: Mario Behling <[email protected]> Co-authored-by: lcduong <lcduong>
- Loading branch information
1 parent
5e9f024
commit ddd2674
Showing
3 changed files
with
40 additions
and
31 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
67 changes: 38 additions & 29 deletions
67
src/pretix/control/templates/pretixcontrol/organizers/delete.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,42 +1,51 @@ | ||
{% extends "pretixcontrol/organizers/base.html" %} {% load i18n %} {% load | ||
bootstrap3 %} {% block content %} | ||
{% extends "pretixcontrol/organizers/base.html" %} | ||
{% load i18n %} | ||
{% load bootstrap3 %} | ||
{% block content %} | ||
<h1>{% trans "Delete organizer" %}</h1> | ||
{% if request.organizer.allow_delete %} {% bootstrap_form_errors form | ||
layout="inline" %} | ||
{% if request.organizer.allow_delete %} | ||
{% bootstrap_form_errors form layout="inline" %} | ||
<p> | ||
{% blocktrans trimmed %} This operation will destroy this organizer including | ||
all events, configuration, products, quotas, questions, vouchers, lists, etc. | ||
{% endblocktrans %} | ||
{% blocktrans trimmed %} | ||
This operation will destroy this organizer including | ||
all events, configuration, products, quotas, questions, vouchers, lists, etc. | ||
{% endblocktrans %} | ||
</p> | ||
<p> | ||
<strong> | ||
{% blocktrans trimmed %} This operation is irreversible and there is no way | ||
to bring your data back. {% endblocktrans %} | ||
</strong> | ||
<strong> | ||
{% blocktrans trimmed %} | ||
This operation is irreversible and there is no way | ||
to bring your data back. | ||
{% endblocktrans %} | ||
</strong> | ||
</p> | ||
<form action="" method="post"> | ||
{% csrf_token %} | ||
<p> | ||
{% blocktrans trimmed with slug=request.organizer.slug %} To confirm you | ||
really want this, please type out the organizer's short name ("{{ slug }}") | ||
here: {% endblocktrans %} | ||
</p> | ||
{% bootstrap_field form.slug layout="inline" %} | ||
{% csrf_token %} | ||
<p> | ||
{% blocktrans trimmed with slug=request.organizer.slug %} | ||
To confirm you really want this, please type out the organizer's short name ("{{ slug }}") | ||
here: | ||
{% endblocktrans %} | ||
</p> | ||
{% bootstrap_field form.slug layout="inline" %} | ||
|
||
<div class="form-group submit-group"> | ||
<button type="submit" class="btn btn-delete btn-danger btn-save"> | ||
{% trans "Delete" %} | ||
</button> | ||
</div> | ||
<div class="form-group submit-group"> | ||
<button type="submit" class="btn btn-delete btn-danger btn-save"> | ||
{% trans "Delete" %} | ||
</button> | ||
</div> | ||
</form> | ||
{% else %} | ||
<p> | ||
{% trans "This organizer account can not be deleted as it already contains | ||
orders, invoices, or devices." %} | ||
{% trans "This organizer account can not be deleted as it already contains | ||
orders, invoices, or devices." %} | ||
</p> | ||
<p> | ||
{% blocktrans trimmed %} eventyay does not allow deleting orders once they | ||
have been placed in order to be audit-proof and trustable by financial | ||
authorities. {% endblocktrans %} | ||
{% blocktrans trimmed %} | ||
eventyay does not allow deleting orders once they | ||
have been placed in order to be audit-proof and trustable by financial | ||
authorities. | ||
{% endblocktrans %} | ||
</p> | ||
{% endif %} {% endblock %} | ||
{% endif %} | ||
{% endblock %} |
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