2019-11-06 20:44:22 +00:00
sib-router(default-route='circle-profile', hidden)
2019-10-29 14:48:37 +00:00
sib-route(name='circle-profile')
sib-route(name='circle-edit')
2019-10-24 20:03:15 +00:00
2019-10-29 14:48:37 +00:00
#circle-profile(hidden)
2020-02-10 12:59:23 +00:00
include ../../templates/hd-circle-team.pug
2019-10-29 14:48:37 +00:00
.content-box__info
2019-09-25 14:16:17 +00:00
2019-11-06 14:44:53 +00:00
.space-between
2019-11-06 17:44:02 +00:00
sib-display(
bind-resources
fields='creationDateSet(title, creationDate)'
2019-09-25 14:16:17 +00:00
2019-12-19 13:10:09 +00:00
class-title='word-spacing-right'
2019-11-14 12:27:04 +00:00
value-title='Creation date: '
2019-11-06 17:44:02 +00:00
widget-creationDate='sib-display-date'
)
2019-12-18 18:50:47 +00:00
sib-ac-checker(permission='acl:Append', bind-resources, nested-field='members')
2020-04-21 09:28:24 +00:00
sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='circle-edit' bind-resources) Modifier et ajouter un membre
2019-10-25 13:35:14 +00:00
2019-12-18 18:50:47 +00:00
h2 Members:
2019-09-25 14:16:17 +00:00
2019-10-29 14:48:37 +00:00
sib-display.block(
bind-resources
2020-01-20 12:57:03 +00:00
fields='members'
2019-09-25 14:16:17 +00:00
2020-01-20 12:57:03 +00:00
multiple-members=''
widget-members='circle-team-template'
2019-10-29 14:48:37 +00:00
)
2019-10-30 10:47:39 +00:00
div.box-button
sib-ac-checker(permission='acl:Delete', bind-resources)
sib-delete(
2019-11-06 09:46:09 +00:00
class='button text-bold text-uppercase button-blue bordered with-icon icon-trash'
2019-10-30 10:47:39 +00:00
bind-resources
2020-04-21 09:28:24 +00:00
data-label='Supprimer le canal'
2019-10-25 13:35:14 +00:00
)
2019-10-30 10:47:39 +00:00
2019-11-14 12:27:04 +00:00
sib-widget(name='circle-leave-button')
2019-10-30 10:47:39 +00:00
template
2019-11-14 12:27:04 +00:00
sib-delete(
class='button btn-margin-left text-bold text-uppercase reversed button-dark bordered with-icon icon-close'
data-src="${src}"
data-label='Leave Circle'
2019-10-25 13:35:14 +00:00
)
2019-11-14 12:27:04 +00:00
sib-widget(name='circle-join-button')
template
2020-02-24 14:10:02 +00:00
button.button.btn-margin-left.text-bold.text-uppercase.reversed.button-dark.bordered.with-icon.icon-arrow-right-circle.flex
2019-11-14 12:27:04 +00:00
sib-form(
data-src=''
nested-field='members'
fields='user.@id'
label-user.@id=''
value-user.@id=''
widget-user.@id='sib-form-hidden'
hd-inherit-bind-user2input="input[name='user.@id']"
submit-button='Join Circle'
2019-10-30 10:47:39 +00:00
)
2019-10-25 13:35:14 +00:00
2019-10-30 10:47:39 +00:00
sib-display(
bind-resources
2019-11-14 12:27:04 +00:00
nested-field='members'
fields='relation'
action-relation='relation'
widget-relation='circle-leave-button'
search-fields='user'
search-widget-user='sib-form-hidden'
search-value-user=""
empty-widget='circle-join-button'
hd-inherit-bind-resources='circle-join-button'
hd-inherit-user-id="search-value-user"
2019-10-30 10:47:39 +00:00
)
2019-10-25 13:35:14 +00:00
2019-09-25 14:16:17 +00:00
2019-10-29 14:48:37 +00:00
#circle-edit(hidden)
include page-circle-edit.pug