2019-12-18 18:50:47 +00:00
|
|
|
div.content-box__info
|
|
|
|
|
2020-05-08 13:27:44 +00:00
|
|
|
include ../../templates/hubl-user-avatar.pug
|
2020-09-14 13:41:10 +00:00
|
|
|
|
|
|
|
solid-widget(name="project-edit-members-delete")
|
|
|
|
template
|
|
|
|
solid-ac-checker(permission="acl:Delete" data-src="${src}")
|
|
|
|
solid-delete(
|
|
|
|
class='button text-bold text-uppercase reversed button-secondary bordered with-icon icon-close'
|
|
|
|
data-src="${src}"
|
|
|
|
data-label='Retirer'
|
|
|
|
)
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-link(class='backlink right', bind-resources, next='project-profile') Retour
|
2019-12-18 18:50:47 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
solid-ac-checker(permission='acl:Write', bind-resources)
|
|
|
|
h1 Modifie ton projet
|
2019-04-15 21:11:56 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
div#loader-project-edit.loader.loader-top
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
2020-06-01 15:29:30 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
solid-form.form.button-register(
|
|
|
|
bind-resources
|
|
|
|
|
2020-09-03 13:40:10 +00:00
|
|
|
fields='line-1(customer.name, name)'
|
2020-09-24 10:56:19 +00:00
|
|
|
required-customer.name
|
|
|
|
required-name
|
2019-05-14 15:32:42 +00:00
|
|
|
|
2020-06-01 15:29:30 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
label-name='Nom du projet*'
|
|
|
|
class-name='form-label is-light is-half-width input-text-like'
|
2020-06-01 15:29:30 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
label-customer.name='Nom du client*'
|
|
|
|
class-customer.name='form-label is-light is-half-width input-text-like'
|
2019-12-18 18:50:47 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
partial=""
|
|
|
|
|
|
|
|
submit-button='Enregistrer'
|
|
|
|
next='project-information'
|
|
|
|
)
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2020-04-21 10:10:01 +00:00
|
|
|
h2 Liste des membres :
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
solid-ac-checker(permission='acl:Append', bind-resources, nested-field='members')
|
|
|
|
solid-form.block.select-add(
|
|
|
|
bind-resources
|
|
|
|
nested-field='members'
|
|
|
|
fields='user'
|
|
|
|
range-user=`${endpoints.users || endpoints.get.users}`
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2020-09-17 17:41:39 +00:00
|
|
|
class-user='team'
|
2020-09-03 10:15:47 +00:00
|
|
|
label-user=''
|
2020-09-23 15:25:38 +00:00
|
|
|
widget-user='solid-form-dropdown-autocompletion'
|
2019-12-18 18:50:47 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
submit-button='Ajouter un membre'
|
|
|
|
)
|
2019-12-18 18:50:47 +00:00
|
|
|
|
2020-06-15 12:27:49 +00:00
|
|
|
.table-wrapper
|
|
|
|
.table
|
|
|
|
div.table-header.grey-color
|
|
|
|
div.w280 Nom
|
|
|
|
div.w162 Accès
|
|
|
|
|
|
|
|
//-class='table-body'
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-display(
|
2020-06-15 12:27:49 +00:00
|
|
|
class='table-body'
|
|
|
|
bind-resources
|
2020-09-14 13:41:10 +00:00
|
|
|
nested-field='members'
|
2020-10-13 16:18:13 +00:00
|
|
|
fields='classGroup(classGrid(user.account.picture, sup(user.name, user.groups), sub(user.communities))), self'
|
2020-09-03 10:15:47 +00:00
|
|
|
loader-id='loader-project-edit'
|
2020-06-15 12:27:49 +00:00
|
|
|
|
2020-09-14 13:41:10 +00:00
|
|
|
class-classGroup='w280 cell border cell-with-id-card user-thumb is-spaced'
|
|
|
|
class-user.account.picture='user-thumb__picture avatar'
|
|
|
|
class-user.name='user-thumb__name'
|
|
|
|
class-user.groups='user-thumb__groups'
|
2020-10-13 16:18:13 +00:00
|
|
|
multiple-user.communities
|
|
|
|
multiple-user.communities-fields="community.name"
|
2020-09-14 13:41:10 +00:00
|
|
|
|
|
|
|
widget-user.account.picture='hubl-user-avatar'
|
|
|
|
|
2020-09-15 08:58:13 +00:00
|
|
|
multiple-user.groups
|
|
|
|
multiple-user.groups-fields='name'
|
2020-09-14 13:41:10 +00:00
|
|
|
|
|
|
|
action-self='self'
|
|
|
|
widget-self='project-edit-members-delete'
|
2020-06-15 12:27:49 +00:00
|
|
|
)
|