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-02-10 12:59:23 +00:00
include ../../templates/hd-business-provider.pug
include ../../templates/hd-captain.pug
include ../../templates/hd-circle-team.pug
include ../../templates/hd-customer.pug
include ../../templates/hd-project-team.pug
2019-12-18 18:50:47 +00:00
.content-box__info
.space-between
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-04-21 16:30:19 +00:00
sib-link(class='button text-bold text-uppercase reversed button-blue 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
2019-12-18 18:50:47 +00:00
.space-between
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'
widget-captain='hd-captain'
)
sib-display(
class='customer-logo'
bind-resources
fields='customer.logo'
widget-customer.logo='sib-display-img'
)
h2 Contributions:
sib-link(next='project-contributions-help').button-question__position
button(aria-label='modal activator').icon-question.button-question__color
sib-display(
bind-resources
fields='businessProvider',
widget-businessProvider='hd-business-provider'
)
2020-04-21 16:30:19 +00:00
h2 Informations sur le client :
2019-12-18 18:50:47 +00:00
2020-04-02 16:09:23 +00:00
sib-display(
2019-12-18 18:50:47 +00:00
bind-resources
fields='customer'
widget-customer='hd-customer'
)
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
2019-12-20 15:09:18 +00:00
widget-members='hd-project-team'
multiple-members
2019-12-18 18:50:47 +00:00
)
sib-widget(name='project-leave-button')
template
sib-delete(
class='button btn-margin-left text-bold text-uppercase reversed button-dark bordered with-icon icon-close'
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'
widget-relation='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
2019-12-18 18:50:47 +00:00
hd-inherit-user-id="search-value-user"
)
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