feature: circle-edit

This commit is contained in:
gaelle morin
2020-12-08 15:49:44 +01:00
parent 26ce78bd3a
commit afda5f96f9
4 changed files with 34 additions and 14 deletions

View File

@ -26,17 +26,17 @@ div.segment.padding-large
data-trans='data-label=circle.edit.buttonDelete'
)
solid-ac-checker.segment.clearfix(permission='acl:Write', bind-resources)
solid-ac-checker(permission='acl:Write', bind-resources)
div#loader-circle-edit.loader.loader-top
div
div
div
div
solid-form.button-register(
solid-form.segment.clearfix.button-register(
bind-resources
fields='status, name, owner, description'
fields='name, description, status, owner'
required-status
required-name
required-owner
@ -46,14 +46,14 @@ div.segment.padding-large
label-status=''
widget-status='hubl-status'
label-name='Name'
label-owner='Owner'
label-description='Description'
label-name=''
label-owner=''
label-description=''
class-name='segment margin-bottom-medium lg-half padding-right-small text-small text-semibold text-uppercase text-color-heading float-left'
class-owner='segment margin-bottom-medium lg-half padding-left-small text-small text-semibold text-uppercase text-color-heading float-left'
class-name='segment margin-bottom-medium lg-half padding-right-small text-small text-semibold text-uppercase text-color-heading'
class-description='segment margin-bottom-medium lg-full text-small text-semibold text-uppercase text-color-heading'
class-status='segment margin-bottom-medium lg-half padding-right-small text-small text-semibold text-uppercase text-color-heading icon icon-magnify'
class-status='segment margin-bottom-medium lg-half padding-right-small text-small text-semibold text-uppercase text-color-heading icon icon-magnify float-left'
class-owner='segment margin-bottom-medium lg-half padding-left-small text-small text-semibold text-uppercase text-color-heading float-left'
widget-owner='solid-form-dropdown-autocompletion-label'
widget-description='solid-form-textarea'
@ -63,19 +63,19 @@ div.segment.padding-large
submit-button='Enregistrer'
next='circle-information'
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'
data-trans='label-status=circle.edit.labelStatus;label-name=circle.edit.labelName;label-owner=circle.edit.labelOwner;label-description=circle.edit.labelDescription;submit-button=circle.edit.buttonSubmit'
)
h3.text-color-heading.text-bold.text-letter-spacing-large(data-trans='circle.edit.subTitle')
h3.segment.padding-bottom-small.border-bottom.border-color-grey.text-color-heading.text-bold.text-letter-spacing-large(data-trans='circle.edit.subTitle')
solid-ac-checker(permission='acl:Append', bind-resources, nested-field='members')
solid-form.block.select-add(
solid-form.block.segment.margin-bottom-xlarge.clearfix.button-register(
bind-resources
nested-field='members'
fields='user'
range-user=`${endpoints.users || endpoints.get.users}`
class-user='team'
class-user='add-member'
widget-user='solid-form-dropdown-autocompletion'
submit-button=''