.content-box.full-width.with-form sib-router(default-route='admin-users-list', hidden) sib-route(name='admin-users-list') sib-route(name='admin-users-create') sib-route(name='admin-users-edit') div.content-box__header h1.without-margin Administration sib-widget(name='sib-action-hd-custom') template sib-ac-checker(data-src="${src}", permission='acl:Write') sib-link( class='button rounded reversed button-blue bordered icon-pencil' data-src="${src}" next="${value}" ) sib-widget(name='hd-user-admin-groups-display') template sib-display( data-src="${value}" fields="name" ) #admin-users-list(hidden) div.content-box__info div.admin-header div.admin-header__title Utilisateurs sib-ac-checker(data-src=`${endpoints.users || endpoints.post.users}`, permission='acl:Append') sib-link( class='button text-bold text-uppercase reversed button-yellow bordered with-icon icon-plus' next='admin-users-create' ) Ajouter un utilisateur .table div.table-header.grey-color div Nom div Groupes div sib-display( class='table-body' data-src=`${endpoints.users || endpoints.get.users}` fields='cell-1(user-thumb(account.picture, sup(name), sub(username))), groups, actions' class-account.picture='user-thumb__picture' class-name='user-thumb__name' class-username='user-thumb__username' class-profile.city='user-thumb__city' widget-account.picture='hd-user-avatar' class-groups='w33 cell border cell-with-groups' multiple-groups='' widget-groups='hd-user-admin-groups-display' label-actions='Edit' action-actions='admin-users-edit' class-actions='w33 cell border cell-with-buttons' widget-actions='sib-action-hd-custom' order-by='username' ) #admin-users-create(hidden) include page-admin-users-create.pug #admin-users-edit(hidden) include page-admin-users-edit.pug