Created
July 21, 2023 11:04
-
-
Save dlyamkin/d3fc2c8378472a2e827f24afe67a53d1 to your computer and use it in GitHub Desktop.
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
diff --git a/design/backend/templates/addons/direct_payments/hooks/payments/list.pre.tpl b/design/backend/templates/addons/direct_payments/hooks/payments/list.pre.tpl | |
index cf48e89af2..c387f3b331 100644 | |
--- a/design/backend/templates/addons/direct_payments/hooks/payments/list.pre.tpl | |
+++ b/design/backend/templates/addons/direct_payments/hooks/payments/list.pre.tpl | |
@@ -65,7 +65,7 @@ | |
object_id_name="payment_id" | |
table="payments" | |
href_delete="payments.delete?payment_id=`$vendor_payment.payment_id`" | |
- delete_target_id="vendor_payments_list" | |
+ delete_target_id="vendor_payments_list,pagination_contents" | |
skip_delete=$skip_delete | |
header_text=$vendor_payment.payment | |
additional_class=$additional_class |
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
diff --git a/design/backend/templates/views/payments/manage.tpl b/design/backend/templates/views/payments/manage.tpl | |
index c765dcec6e..701f4fe4da 100644 | |
--- a/design/backend/templates/views/payments/manage.tpl | |
+++ b/design/backend/templates/views/payments/manage.tpl | |
@@ -42,6 +42,7 @@ function fn_switch_processor(payment_id, processor_id) | |
{$draggable = $is_allow_update_payments|default:true} | |
{hook name="payments:list"} | |
<form action="{""|fn_url}" method="post" name="manage_payments_form" id="manage_payments_form"> | |
+{include file="common/pagination.tpl" object_type="payments"} | |
{if $payments} | |
{capture name="payments_table"} | |
<div class="items-container payment-methods {if $draggable}cm-sortable{/if}" | |
@@ -110,7 +111,7 @@ function fn_switch_processor(payment_id, processor_id) | |
object_id_name="payment_id" | |
table="payments" | |
href_delete="payments.delete?payment_id=`$payment.payment_id`" | |
- delete_target_id="payments_list" | |
+ delete_target_id="payments_list,pagination_contents" | |
skip_delete=$skip_delete | |
header_text=$payment.payment | |
additional_class="cm-sortable-row cm-sortable-id-`$payment.payment_id`" | |
@@ -141,6 +142,7 @@ function fn_switch_processor(payment_id, processor_id) | |
<p class="no-items">{__("no_data")}</p> | |
{/if} | |
<!--payments_list--></div> | |
+{include file="common/pagination.tpl" object_type="payments"} | |
</form> | |
{/hook} | |
{/capture} |
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
diff --git a/design/backend/templates/views/product_filters/manage.tpl b/design/backend/templates/views/product_filters/manage.tpl | |
index 93610e219f..72443634c8 100644 | |
--- a/design/backend/templates/views/product_filters/manage.tpl | |
+++ b/design/backend/templates/views/product_filters/manage.tpl | |
@@ -69,7 +69,7 @@ function fn_check_product_filter_type(value, tab_id, id) | |
href="product_filters.update?filter_id=`$filter.filter_id`&return_url=$r_url&in_popup" | |
object_id_name="filter_id" | |
href_delete="product_filters.delete?filter_id=`$filter.filter_id`" | |
- delete_target_id="manage_filters_list,actions_panel" | |
+ delete_target_id="manage_filters_list,actions_panel,pagination_contents" | |
table="product_filters" | |
no_table=true | |
draggable=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment