Skip to content

Commit

Permalink
#334 Workaround with fixed amend templatetag
Browse files Browse the repository at this point in the history
  • Loading branch information
viliambalaz committed Apr 20, 2022
1 parent 189f09d commit ef46a5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
{% extends "admin/delete_confirmation.html" %}
{% load amend prepend before after from poleno.amend %}
{% load amend 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 %}
{% include "admin/inforequests/mixins/delete_nested_inforequest_email_mixin.html" %}
{% include "admin/inforequests/mixins/snoozed_actions_mixin.html" %}
{% include "utils/admin/bulk_delete_mixin.html" %}
{% endamend %}
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
{% extends "admin/delete_selected_confirmation.html" %}
{% load amend prepend before after from poleno.amend %}
{% load amend 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 %}
{% include "admin/inforequests/mixins/delete_nested_inforequest_email_mixin.html" %}
{% include "admin/inforequests/mixins/snoozed_actions_mixin.html" %}
{% include "utils/admin/bulk_delete_mixin.html" %}
{% endamend %}
{% endblock %}

0 comments on commit ef46a5f

Please sign in to comment.