Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[orga] Allow to delete organisers and events
Closes #476
- Loading branch information
Showing
13 changed files
with
207 additions
and
33 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% extends "orga/cfp/base.html" %} | ||
{% load i18n %} | ||
{% block content %} | ||
<h2> | ||
{% trans "Do you really want to delete this event?" %} | ||
</h2> | ||
<strong>»{{ request.event.name }}«</strong> – {% trans "ALL related data, such as submissions, and speaker profiles, and uploads, will also be deleted and cannot be restored." %}<p> | ||
<form method="post"> | ||
{% csrf_token %} | ||
<div class="submit-group"> | ||
<a href="{{ request.event.orga_urls.base }}" class="btn btn-lg btn-outline-info"> | ||
{% trans "Back" %} | ||
</a> | ||
<button type="submit" class="btn btn-lg btn-danger"> | ||
<i class="fa fa-trash"></i> | ||
{% trans "Yes" %} | ||
</button> | ||
</div> | ||
</form> | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% extends "orga/cfp/base.html" %} | ||
{% load i18n %} | ||
{% block content %} | ||
<h2> | ||
{% trans "Do you really want to delete this organiser?" %} | ||
</h2> | ||
<strong>»{{ request.organiser.name }}«</strong> – {% trans "ALL related data for ALL events, such as submissions, and speaker profiles, and uploads, will also be deleted and cannot be restored." %}<p> | ||
<form method="post"> | ||
{% csrf_token %} | ||
<div class="submit-group"> | ||
<a href="{{ request.organiser.orga_urls.base }}" class="btn btn-lg btn-outline-info"> | ||
{% trans "Back" %} | ||
</a> | ||
<button type="submit" class="btn btn-lg btn-danger"> | ||
<i class="fa fa-trash"></i> | ||
{% trans "Yes" %} | ||
</button> | ||
</div> | ||
</form> | ||
{% 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
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
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
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
Oops, something went wrong.