SMMP/build/viewer/view/group/permission_choice.twig

30 lines
983 B
Twig

<span style='text-align:center; color: #666; text-decoration: underline; cursor: pointer;' id='permissions-change-group'>Modifier d'autres permissions</span>
<p></p>
<span data-member-view></span>
<article class='check-table'>
<input type='hidden' id='permission-choice-idtarget' value='{{ p_id_target }}'>
<input type='hidden' id='permission-choice-idaction' value='{{ p_id_permission }}'>
<div>
<span><strong>Nom du groupe</strong></span>
<span><strong>permission <u>{{ p_permname | translate('fr') }}</u> sur <u>{{ p_name }}</u></strong></span>
</div>
{% for ucluster in f_userclusters(p_id_target, p_id_permission) %}
<div>
<span>{{ ucluster.name }}</span>
<span>
<input type='checkbox' value='{{ ucluster.id_user_cluster }}' data-name='member' id='checkbox_{{ ucluster.id_user_cluster }}' {% if ucluster.already %}checked{% endif %}>
<label for='checkbox_{{ ucluster.id_user_cluster }}'></label>
</span>
</div>
{% endfor %}
</article>