-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
3 changed files
with
75 additions
and
49 deletions.
There are no files selected for viewing
24 changes: 20 additions & 4 deletions
24
qgis-app/plugins/templates/plugins/plugin_delete_confirm.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,9 +1,25 @@ | ||
{% extends 'plugins/plugin_base.html' %}{% load i18n %} | ||
{% block content %} | ||
<h2>{% trans "Delete plugin"%}: {{ plugin.title }}</h2> | ||
<form action="" method="post">{% csrf_token %} | ||
<p class="alert alert-danger">{% trans "You asked to delete the plugin and all its versions. The plugin will be permanently deleted. This action cannot be undone. Please confirm."%}</p> | ||
<p><input type="submit" class="button is-danger" name="delete_confirm" value="{% trans "Ok" %}" /> <a class="button is-success" href="javascript:history.back()">{% trans "Cancel" %}</a></p> | ||
<h2 class="title is-4">{% trans "Delete plugin" %}: {{ plugin.title }}</h2> | ||
<form action="" method="post"> | ||
{% csrf_token %} | ||
<div class="notification"> | ||
<p>{% trans "You asked to delete the plugin and all its versions. The plugin will be permanently deleted. This action cannot be undone. Please confirm." %}</p> | ||
</div> | ||
<div class="field is-grouped"> | ||
<p class="control"> | ||
<button type="submit" class="button is-danger" name="delete_confirm"> | ||
<span class="icon"><i class="fas fa-trash"></i></span> | ||
<span>{% trans "Ok" %}</span> | ||
</button> | ||
</p> | ||
<p class="control"> | ||
<a class="button is-success" href="javascript:history.back()"> | ||
<span class="icon"><i class="fas fa-undo"></i></span> | ||
<span>{% trans "Cancel" %}</span> | ||
</a> | ||
</p> | ||
</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