forked from mmmaly/chcemvediet
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#334 Create admin delete mixin templates
- Loading branch information
1 parent
b702ec7
commit 189f09d
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
chcemvediet/apps/inforequests/templates/admin/inforequests/action/delete_confirmation.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,17 @@ | ||
{% extends "admin/delete_confirmation.html" %} | ||
{% load amend prepend before after from poleno.amend %} | ||
|
||
{% block content %} | ||
{% amend %} | ||
{{ block.super }} | ||
{% after path="./ul[last()]" %} | ||
{% include "admin/inforequests/mixins/delete_nested_inforequest_email_mixin.html" %} | ||
{% endafter %} | ||
{% prepend path=".//form" %} | ||
{% include "admin/inforequests/mixins/snoozed_actions_mixin.html" %} | ||
{% endprepend %} | ||
{% before path=".//form//input[@type='submit']" %} | ||
{% include "utils/admin/bulk_delete_mixin.html" %} | ||
{% endbefore %} | ||
{% endamend %} | ||
{% endblock %} |
17 changes: 17 additions & 0 deletions
17
...t/apps/inforequests/templates/admin/inforequests/action/delete_selected_confirmation.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,17 @@ | ||
{% extends "admin/delete_selected_confirmation.html" %} | ||
{% load amend prepend before after from poleno.amend %} | ||
|
||
{% block content %} | ||
{% amend %} | ||
{{ block.super }} | ||
{% after path="./ul[last()]" %} | ||
{% include "admin/inforequests/mixins/delete_nested_inforequest_email_mixin.html" %} | ||
{% endafter %} | ||
{% prepend path=".//form" %} | ||
{% include "admin/inforequests/mixins/snoozed_actions_mixin.html" %} | ||
{% endprepend %} | ||
{% before path=".//form//input[@type='submit']" %} | ||
{% include "utils/admin/bulk_delete_mixin.html" %} | ||
{% endbefore %} | ||
{% endamend %} | ||
{% endblock %} |