2019-12-18 18:50:47 +00:00
|
|
|
div.content-box__info
|
|
|
|
|
2020-09-14 13:41:10 +00:00
|
|
|
solid-widget(name="project-edit-members-delete")
|
|
|
|
template
|
2021-01-13 08:58:52 +00:00
|
|
|
solid-ac-checker(permission="acl:Delete", data-src="${src}")
|
2020-09-14 13:41:10 +00:00
|
|
|
solid-delete(
|
|
|
|
class='button text-bold text-uppercase reversed button-secondary bordered with-icon icon-close'
|
|
|
|
data-src="${src}"
|
2020-10-21 13:31:05 +00:00
|
|
|
data-label=''
|
|
|
|
data-trans='data-label=project.edit.buttonDelete'
|
2020-09-14 13:41:10 +00:00
|
|
|
)
|
2021-01-13 08:58:52 +00:00
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
solid-link(class='backlink right', bind-resources, next='project-profile' data-trans='project.edit.backlink')
|
2019-12-18 18:50:47 +00:00
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
solid-ac-checker(permission='acl:Write', bind-resources)
|
2020-10-21 13:31:05 +00:00
|
|
|
h1(data-trans='project.edit.title')
|
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
|
|
|
|
|
2021-01-13 08:58:52 +00:00
|
|
|
fields='line-1(customer.name, name), description, help'
|
2020-09-24 10:56:19 +00:00
|
|
|
required-customer.name
|
|
|
|
required-name
|
2019-05-14 15:32:42 +00:00
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
label-name=''
|
2020-09-03 10:15:47 +00:00
|
|
|
class-name='form-label is-light is-half-width input-text-like'
|
2020-06-01 15:29:30 +00:00
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
label-customer.name=''
|
2020-09-03 10:15:47 +00:00
|
|
|
class-customer.name='form-label is-light is-half-width input-text-like'
|
2019-12-18 18:50:47 +00:00
|
|
|
|
2021-01-13 08:58:52 +00:00
|
|
|
label-description='',
|
|
|
|
widget-description='solid-form-textarea-label'
|
|
|
|
class-description='form-label is-light input-text-like'
|
|
|
|
value-help=''
|
|
|
|
widget-help='solid-display-value'
|
|
|
|
class-help='is-small'
|
|
|
|
|
2020-09-03 10:15:47 +00:00
|
|
|
partial=""
|
|
|
|
|
|
|
|
submit-button='Enregistrer'
|
|
|
|
next='project-information'
|
2021-01-13 08:58:52 +00:00
|
|
|
|
|
|
|
data-trans='label-name=project.edit.labelName;label-customer.name=project.edit.labelCustomer;submit-button=project.edit.buttonSubmit;label-description=project.edit.labelDescription;value-help=project.edit.descriptionHelp'
|
2020-09-03 10:15:47 +00:00
|
|
|
)
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
h2(data-trans='project.edit.subTitle')
|
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-10-21 13:31:05 +00:00
|
|
|
submit-button=''
|
2020-10-22 17:18:32 +00:00
|
|
|
data-trans='submit-button=project.edit.buttonAddMember'
|
2020-09-03 10:15:47 +00:00
|
|
|
)
|
2019-12-18 18:50:47 +00:00
|
|
|
|
2020-06-15 12:27:49 +00:00
|
|
|
.table-wrapper
|
|
|
|
.table
|
|
|
|
div.table-header.grey-color
|
2020-10-21 19:36:09 +00:00
|
|
|
div.w280(data-trans='project.edit.tableHeader1')
|
|
|
|
div.w162(data-trans='project.edit.tableHeader2')
|
2020-06-15 12:27:49 +00:00
|
|
|
|
|
|
|
//-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
|
|
|
)
|