Modif des droits sur les modules
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
</thead>
|
||||
|
||||
<caption class="clearfix">
|
||||
{loop name="auth-create" type="auth" role="ADMIN" resource="admin.lps.general" access="CREATE" module="LivraisonParSecteurs"}
|
||||
{loop name="auth-create" type="auth" role="ADMIN" access="CREATE" module="LivraisonParSecteurs"}
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-default btn-primary"
|
||||
title="{intl l='Add a new area' d='livraisonparsecteurs'}"
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
<th>{intl l="City" d="livraisonparsecteurs"}</th>
|
||||
<th class="pull-right">
|
||||
<div>
|
||||
{loop name="auth-delete" type="auth" role="ADMIN" resource="admin.lps.cities" access="CREATE" module="LivraisonParSecteurs"}
|
||||
{loop name="auth-delete" type="auth" role="ADMIN" access="CREATE" module="LivraisonParSecteurs"}
|
||||
<a class="btn btn-default btn-primary city-add"
|
||||
title="{intl l='Add a new city' d='livraisonparsecteurs'}"
|
||||
data-target="#area-cities-add" data-toggle="modal">
|
||||
@@ -85,7 +85,7 @@
|
||||
<td>{$TITLE}{if $LATITUDE eq '' or $LONGITUDE eq ''}<img src="{image file='assets/img/pin.svg' source='LivraisonParSecteurs'}" title="Pas de coordonnées pour cette commune" alt="Pas de coordonnées" class="pin-lps" />{/if}</td>
|
||||
<td class="actions">
|
||||
<div class="btn-group" role="group">
|
||||
{loop name="auth-delete" type="auth" role="ADMIN" resource="admin.lps.cities" access="DELETE" module="LivraisonParSecteurs"}
|
||||
{loop name="auth-delete" type="auth" role="ADMIN" access="DELETE" module="LivraisonParSecteurs"}
|
||||
<a class="btn btn-danger btn-responsive cities-remove" title="{intl l='Remove this city'}" data-target="#area-cities-remove" data-toggle="modal" data-id="{$ID}">
|
||||
<i class="glyphicon glyphicon-trash"></i>
|
||||
</a>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<table class="table table-striped table-condensed">
|
||||
|
||||
<caption class="clearfix">
|
||||
{loop name="auth-create" type="auth" role="ADMIN" resource="admin.lps.schedule" access="CREATE" module="LivraisonParSecteurs"}
|
||||
{loop name="auth-create" type="auth" role="ADMIN" access="CREATE" module="LivraisonParSecteurs"}
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-default btn-primary area-schedule-add"
|
||||
title="{intl l='Add a new delivery day' d='livraisonparsecteurs'}"
|
||||
@@ -56,7 +56,7 @@
|
||||
{* Actions *}
|
||||
<td>
|
||||
<div class="btn-group">
|
||||
{loop name="auth-edit" type="auth" role="ADMIN" resource="admin.lps.schedule" access="UPDATE" module="LivraisonParSecteurs"}
|
||||
{loop name="auth-edit" type="auth" role="ADMIN" access="UPDATE" module="LivraisonParSecteurs"}
|
||||
<a class="btn btn-info btn-responsive area-schedule-update-default"
|
||||
title="{intl l='Modify this delivery day' d='livraisonparsecteurs'}"
|
||||
data-target="#area-schedule-update" data-toggle="modal" data-id="{$ID}"
|
||||
@@ -66,7 +66,7 @@
|
||||
<i class="glyphicon glyphicon-edit"></i>
|
||||
</a>
|
||||
{/loop}
|
||||
{loop name="auth-delete" type="auth" role="ADMIN" resource="admin.lps.schedule" access="DELETE" module="LivraisonParSecteurs"}
|
||||
{loop name="auth-delete" type="auth" role="ADMIN" access="DELETE" module="LivraisonParSecteurs"}
|
||||
<a class="btn btn-danger btn-responsive area-schedule-delete"
|
||||
title="{intl l='Delete this delivery day' d='livraisonparsecteurs'}"
|
||||
data-target="#area-schedule-delete" data-toggle="modal" data-id="{$ID}">
|
||||
|
||||
Reference in New Issue
Block a user