From 132a655304a39f1836ab7482f3cbf76640f1c971 Mon Sep 17 00:00:00 2001 From: TheCoreDev Date: Wed, 24 Mar 2021 21:33:00 +0100 Subject: [PATCH] Modif des droits pour le compte de Geoffrey --- .../templates/backOffice/default/cnc-place-edit.html | 8 ++------ .../backOffice/default/deliveryarea-edit.html | 12 ++---------- .../templates/backOffice/default/place-edit.html | 8 ++------ 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/local/modules/ClickAndCollect/templates/backOffice/default/cnc-place-edit.html b/local/modules/ClickAndCollect/templates/backOffice/default/cnc-place-edit.html index 32c43eb0..8c192da1 100644 --- a/local/modules/ClickAndCollect/templates/backOffice/default/cnc-place-edit.html +++ b/local/modules/ClickAndCollect/templates/backOffice/default/cnc-place-edit.html @@ -23,21 +23,17 @@
- {loop name="auth-general-tab" type="auth" role="ADMIN" resource="admin" access="VIEW" module="ClickAndCollect"} + {loop name="loop-tabs-content" type="auth" role="ADMIN" access="VIEW" module="ClickAndCollect"}
{include file="includes/cnc-main.html"}
- {/loop} - {loop name="auth-schedule-tab" type="auth" role="ADMIN" resource="admin.schedule" access="VIEW" module="ClickAndCollect"}
{include file="includes/cnc-schedule.html"}
diff --git a/local/modules/LivraisonParSecteurs/templates/backOffice/default/deliveryarea-edit.html b/local/modules/LivraisonParSecteurs/templates/backOffice/default/deliveryarea-edit.html index 2f3b0d26..532d5185 100644 --- a/local/modules/LivraisonParSecteurs/templates/backOffice/default/deliveryarea-edit.html +++ b/local/modules/LivraisonParSecteurs/templates/backOffice/default/deliveryarea-edit.html @@ -20,29 +20,21 @@
- {loop name="auth-general-tab" type="auth" role="ADMIN" resource="admin" access="VIEW" module="LivraisonParSecteurs"} + {loop name="loop-tab-contents" type="auth" role="ADMIN" access="VIEW" module="LivraisonParSecteurs"}
{include file="includes/area-general.html"}
- {/loop} - {loop name="auth-schedule-tab" type="auth" role="ADMIN" resource="admin.schedule" access="VIEW" module="LivraisonParSecteurs"}
{include file="includes/area-schedule.html"}
- {/loop} - {loop name="auth-cities-tab" type="auth" role="ADMIN" resource="admin.cities" access="VIEW" module="LivraisonParSecteurs"}
{include file="includes/area-cities.html"}
diff --git a/local/modules/PointRetrait/templates/backOffice/default/place-edit.html b/local/modules/PointRetrait/templates/backOffice/default/place-edit.html index 409db231..cb44002d 100644 --- a/local/modules/PointRetrait/templates/backOffice/default/place-edit.html +++ b/local/modules/PointRetrait/templates/backOffice/default/place-edit.html @@ -23,21 +23,17 @@
- {loop name="auth-general-tab" type="auth" role="ADMIN" resource="admin" access="VIEW" module="PointRetrait"} + {loop name="loop-tab-contents" type="auth" role="ADMIN" access="VIEW" module="PointRetrait"}
{include file="includes/main.html"}
- {/loop} - {loop name="auth-schedule-tab" type="auth" role="ADMIN" resource="admin.schedule" access="VIEW" module="PointRetrait"}
{include file="includes/schedule.html"}