2020-05-29 16:12:29 +00:00
|
|
|
div.content-box__info
|
2019-10-15 15:10:16 +00:00
|
|
|
|
2020-09-14 13:41:10 +00:00
|
|
|
solid-widget(name="circle-edit-members-delete")
|
2019-10-22 13:50:15 +00:00
|
|
|
template
|
2021-01-14 17:34:12 +00:00
|
|
|
solid-ac-checker(permission="acl:Delete", data-src="${src}")
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-delete(
|
2020-05-11 18:20:13 +00:00
|
|
|
class='button text-bold text-uppercase reversed button-secondary bordered with-icon icon-close'
|
2020-09-14 13:41:10 +00:00
|
|
|
data-src="${src}"
|
2020-10-21 13:31:05 +00:00
|
|
|
data-label=''
|
|
|
|
data-trans='data-label=circle.edit.buttonDelete'
|
2019-10-24 19:23:11 +00:00
|
|
|
)
|
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
solid-link(class="backlink right", bind-resources, next='circle-profile' data-trans='circle.edit.backlink')
|
2019-10-24 20:03:15 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-ac-checker(permission='acl:Write', bind-resources)
|
2020-10-21 13:31:05 +00:00
|
|
|
h1(data-trans='circle.edit.title')
|
2019-10-24 20:03:15 +00:00
|
|
|
|
2020-08-31 10:04:51 +00:00
|
|
|
div#loader-circle-edit.loader.loader-top
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
div
|
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-form.form.button-register(
|
2019-12-10 10:52:39 +00:00
|
|
|
bind-resources
|
2019-11-14 12:27:04 +00:00
|
|
|
|
2021-01-14 17:34:12 +00:00
|
|
|
fields='line-1(name, subtitle), description, help, line-2(status, owner)'
|
2020-09-24 10:56:19 +00:00
|
|
|
required-status
|
|
|
|
required-name
|
|
|
|
required-owner
|
2021-01-14 17:34:12 +00:00
|
|
|
required-subtitle
|
2020-02-03 13:39:14 +00:00
|
|
|
range-owner=`${endpoints.users || endpoints.get.users}`
|
2019-10-15 15:10:16 +00:00
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
label-name=''
|
|
|
|
label-owner=''
|
|
|
|
label-description=''
|
2021-01-14 17:34:12 +00:00
|
|
|
label-subtitle=''
|
|
|
|
label-status=''
|
2021-01-15 14:07:31 +00:00
|
|
|
label-help=''
|
2019-10-15 15:10:16 +00:00
|
|
|
|
2020-05-17 19:10:46 +00:00
|
|
|
class-name='form-label is-light is-half-width input-text-like'
|
2020-05-29 16:12:29 +00:00
|
|
|
class-owner='form-label is-light is-half-width member-select color'
|
2021-01-14 17:34:12 +00:00
|
|
|
class-subtitle='form-label is-light is-half-width input-text-like'
|
|
|
|
class-status='form-label is-light is-half-width member-select color'
|
2020-05-17 19:10:46 +00:00
|
|
|
class-description='form-label is-light is-full-width input-text-like'
|
2021-01-14 17:34:12 +00:00
|
|
|
class-help='is-small'
|
2019-10-15 15:10:16 +00:00
|
|
|
|
2021-01-14 17:34:12 +00:00
|
|
|
widget-status='hubl-status'
|
|
|
|
widget-description='solid-form-textarea-label'
|
2021-01-15 14:07:31 +00:00
|
|
|
widget-help='solid-form-hidden-label'
|
2020-09-14 13:41:10 +00:00
|
|
|
widget-owner='solid-form-dropdown-autocompletion-label'
|
2019-10-22 13:50:15 +00:00
|
|
|
|
2019-12-10 10:52:39 +00:00
|
|
|
partial=''
|
2019-10-24 19:23:11 +00:00
|
|
|
|
2020-04-21 09:28:24 +00:00
|
|
|
submit-button='Enregistrer'
|
2019-12-10 10:52:39 +00:00
|
|
|
next='circle-information'
|
2020-10-21 14:18:23 +00:00
|
|
|
|
2021-01-15 14:07:31 +00:00
|
|
|
data-trans='label-name=circle.edit.labelStatus;label-name=circle.edit.labelName;label-owner=circle.edit.labelOwner;label-description=circle.edit.labelDescription;submit-button=circle.edit.buttonSubmit;label-subtitle=circle.edit.labelSubtitle;label-help=circle.edit.descriptionHelp;label-status=circle.edit.labelStatus'
|
2019-12-10 10:52:39 +00:00
|
|
|
)
|
2019-10-24 20:03:15 +00:00
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
h2(data-trans='circle.edit.subTitle')
|
2019-10-15 15:10:16 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-ac-checker(permission='acl:Append', bind-resources, nested-field='members')
|
|
|
|
solid-form.block.select-add(
|
2019-12-10 10:52:39 +00:00
|
|
|
bind-resources
|
|
|
|
nested-field='members'
|
|
|
|
fields='user'
|
2020-02-03 13:39:14 +00:00
|
|
|
range-user=`${endpoints.users || endpoints.get.users}`
|
2019-11-11 10:50:10 +00:00
|
|
|
|
2020-09-17 17:41:39 +00:00
|
|
|
class-user='team'
|
2020-09-23 15:25:38 +00:00
|
|
|
widget-user='solid-form-dropdown-autocompletion'
|
2019-11-11 10:50:10 +00:00
|
|
|
|
2020-10-21 13:31:05 +00:00
|
|
|
submit-button=''
|
2020-10-22 11:48:49 +00:00
|
|
|
data-trans='submit-button=circle.edit.buttonAddMember'
|
2019-12-10 10:52:39 +00:00
|
|
|
)
|
2019-11-11 10:50:10 +00:00
|
|
|
|
2020-06-09 22:59:45 +00:00
|
|
|
.table-wrapper
|
|
|
|
.table
|
|
|
|
div.table-header.grey-color
|
2020-10-21 19:36:09 +00:00
|
|
|
div.w280(data-trans='circle.edit.tableHeader1')
|
|
|
|
div.w162(data-trans='circle.edit.tableHeader2')
|
2020-06-09 22:59:45 +00:00
|
|
|
|
2020-06-18 18:02:54 +00:00
|
|
|
solid-display(
|
2020-06-09 22:59:45 +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-08-31 10:04:51 +00:00
|
|
|
loader-id='loader-circle-edit'
|
2020-06-09 22:59:45 +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='circle-edit-members-delete'
|
2020-06-09 22:59:45 +00:00
|
|
|
)
|
2019-11-11 10:22:37 +00:00
|
|
|
|
2020-09-14 13:41:10 +00:00
|
|
|
//- Only to show the table grid
|
|
|
|
div.w162.cell.border
|
|
|
|
|