From 67ec90fae94cc91a92eabc5e137d08b01d2f1fdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Wed, 17 Jul 2013 11:13:46 +0200 Subject: [PATCH] // same --- .../template/controllers/carrier_wizard/summary.tpl | 5 +++++ js/admin_carrier_wizard.js | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl index 483b85f3e..e3a8ed262 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl @@ -54,4 +54,9 @@ {l s='It will be displayed only for the following groups:'} +
 
+
+ {l s='It will be displayed only for the following shops:'} + +
diff --git a/js/admin_carrier_wizard.js b/js/admin_carrier_wizard.js index b376e0c55..724e72d41 100644 --- a/js/admin_carrier_wizard.js +++ b/js/admin_carrier_wizard.js @@ -140,6 +140,13 @@ function displaySummary() if ($(this).attr('checked')) $('#summary_groups').html($('#summary_groups').html() + '
  • ' + $(this).parent().next().next().text() + '
  • '); }); + + // shop restrictions + $('#summary_shops').html(''); + $('.input_shop').each(function(){ + if ($(this).attr('checked')) + $('#summary_shops').html($('#summary_shops').html() + '
  • ' + $(this).parent().text() + '
  • '); + }); } function validateSteps(step_number)