Skip to content
Snippets Groups Projects
Verified Commit a7a5555a authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

fix: resolve #311

parent 2a428210
No related branches found
No related tags found
No related merge requests found
...@@ -38,45 +38,45 @@ div.content-box__info ...@@ -38,45 +38,45 @@ div.content-box__info
sib-link(class="backlink", bind-resources, next='circle-profile') Back sib-link(class="backlink", bind-resources, next='circle-profile') Back
h1 Edit your circle sib-ac-checker(permission='acl:Write', bind-resources)
h1 Edit your circle
sib-form.block.circle-edit-form( sib-form.block.circle-edit-form(
bind-resources bind-resources
fields='block-circle__info(name, owner), description' fields='block-circle__info(name, owner), description'
range-owner=`${endpoints.users}` range-owner=`${endpoints.users}`
label-owner='owner' label-owner='owner'
label-description='circle subtitle' label-description='circle subtitle'
class-name='form-label is-light is-half-width' class-name='form-label is-light is-half-width'
class-owner='form-label is-light is-half-width member-select color' class-owner='form-label is-light is-half-width member-select color'
class-description='form-label is-light is-full-width' class-description='form-label is-light is-full-width'
widget-owner='sib-form-auto-completion' widget-owner='sib-form-auto-completion'
partial='' partial=''
submit-button='Save' submit-button='Save'
next='circle-information' next='circle-information'
) )
h2 Members list h2 Members list
//- TODO: sib-ac-checker unworking - https://git.happy-dev.fr/startinblox/framework/sib-core/issues/517 sib-ac-checker(permission='acl:Append', bind-resources, nested-field='team')
//- sib-ac-checker(permission='acl:Write', bind-resources, nested-field='team') sib-form.block.team-form(
sib-form.block.team-form( bind-resources
bind-resources nested-field='members'
nested-field='members' fields='user'
fields='user' range-user=`${endpoints.users}`
range-user=`${endpoints.users}`
class-user='team form-label is-dark' class-user='team form-label is-dark'
label-user='' label-user=''
widget-user='sib-form-auto-completion' widget-user='sib-form-auto-completion'
submit-button='Add a member' submit-button='Add a member'
) )
.table .table
......
...@@ -15,7 +15,7 @@ sib-router(default-route='circle-profile', hidden) ...@@ -15,7 +15,7 @@ sib-router(default-route='circle-profile', hidden)
widget-creationDate='sib-display-date' widget-creationDate='sib-display-date'
) )
sib-ac-checker.testblock.circle-edit-button(permission='acl:Write', bind-resources) sib-ac-checker.testblock.circle-edit-button(permission='acl:Append', bind-resources, nested-field='members')
sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='circle-edit' bind-resources) Edit and add Members sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='circle-edit' bind-resources) Edit and add Members
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment