2019-12-18 18:50:47 +00:00
sib-router(default-route='project-profile', hidden)
sib-route(name='project-profile')
sib-route(name='project-edit')
2019-03-25 15:35:36 +00:00
2019-12-18 18:50:47 +00:00
#project-profile(hidden)
2020-05-08 13:27:44 +00:00
include ../../templates/hubl-captain.pug
include ../../templates/hubl-circle-team.pug
include ../../templates/hubl-project-team.pug
2019-12-18 18:50:47 +00:00
2020-05-18 08:47:43 +00:00
.content-box__info.flex
2019-12-18 18:50:47 +00:00
2020-05-18 12:18:15 +00:00
.flex.space-between
2019-12-18 18:50:47 +00:00
sib-display(
bind-resources
fields='creationDateSet(title, creationDate)'
2019-12-19 13:10:09 +00:00
class-title='word-spacing-right'
2020-04-21 16:30:19 +00:00
value-title='Date de création : '
2019-12-18 18:50:47 +00:00
widget-creationDate='sib-display-date'
)
sib-ac-checker(permission='acl:Append', bind-resources, nested-field='members')
2020-05-11 15:15:59 +00:00
sib-link(class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources) Modifier et ajouter un membre
2018-11-21 02:06:38 +00:00
2019-01-09 14:14:01 +00:00
2020-05-18 12:18:15 +00:00
.flex.space-between
2019-12-18 18:50:47 +00:00
sib-display(
bind-resources
fields='label-captain, captain'
2020-04-21 16:30:19 +00:00
value-label-captain='Capitaine :'
2019-12-18 18:50:47 +00:00
class-label-captain='h2-like'
2020-05-08 13:27:44 +00:00
widget-captain='hubl-captain'
2019-12-18 18:50:47 +00:00
)
sib-display(
class='customer-logo'
bind-resources
fields='customer.logo'
widget-customer.logo='sib-display-img'
)
2020-04-21 16:30:19 +00:00
h2 Equipe :
2019-12-18 18:50:47 +00:00
sib-display(
bind-resources
2019-12-20 15:09:18 +00:00
fields='members'
2019-12-18 18:50:47 +00:00
2020-05-08 13:27:44 +00:00
widget-members='hubl-project-team'
2019-12-20 15:09:18 +00:00
multiple-members
2019-12-18 18:50:47 +00:00
)
2020-05-08 13:27:44 +00:00
sib-widget(name='hubl-project-leave-button')
2019-12-18 18:50:47 +00:00
template
sib-delete(
2020-05-11 15:15:59 +00:00
class='button btn-margin-left text-bold text-uppercase reversed button-secondary bordered with-icon icon-close'
2019-12-18 18:50:47 +00:00
data-src="${src}"
2020-04-21 16:30:19 +00:00
data-label='Quitter le groupe'
2019-12-18 18:50:47 +00:00
)
2019-01-09 14:14:01 +00:00
2019-12-18 18:50:47 +00:00
sib-display(
class='position-end'
bind-resources
nested-field='members'
fields='relation'
2019-01-09 14:14:01 +00:00
2019-12-18 18:50:47 +00:00
action-relation='relation'
2020-05-08 13:27:44 +00:00
widget-relation='hubl-project-leave-button'
2019-01-09 14:14:01 +00:00
2019-12-18 18:50:47 +00:00
search-fields='user'
search-widget-user='sib-form-hidden'
search-value-user=""
2019-10-03 13:27:57 +00:00
2020-05-08 13:27:44 +00:00
hubl-inherit-user-id="search-value-user"
2019-12-18 18:50:47 +00:00
)
2019-10-03 13:27:57 +00:00
2019-04-22 14:13:24 +00:00
2019-12-18 18:50:47 +00:00
#project-edit(hidden)
include page-project-edit.pug