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

28 lines
952 B
Twig
Raw Normal View History

<span style='text-align:center; color: #666; text-decoration: underline; cursor: pointer;' id='permissions-change-group'>Modifier d'autres permissions</span>
<p></p>
<article class='check-table'>
<input type='hidden' id='permission-choice-idtarget' value='{{ p_id_cluster }}'>
<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>