95 lines
2.4 KiB
Plaintext
95 lines
2.4 KiB
Plaintext
sib-router(default-route='project-profile', hidden)
|
|
sib-route(name='project-profile')
|
|
sib-route(name='project-edit')
|
|
|
|
#project-profile(hidden)
|
|
include ../../templates/hubl-captain.pug
|
|
include ../../templates/hubl-circle-team.pug
|
|
include ../../templates/hubl-customer.pug
|
|
include ../../templates/hubl-project-team.pug
|
|
|
|
.content-box__info
|
|
|
|
.space-between
|
|
sib-display(
|
|
bind-resources
|
|
fields='creationDateSet(title, creationDate)'
|
|
|
|
class-title='word-spacing-right'
|
|
|
|
value-title='Date de création : '
|
|
|
|
widget-creationDate='sib-display-date'
|
|
)
|
|
sib-ac-checker(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='project-edit' bind-resources) Modifier et ajouter un membre
|
|
|
|
|
|
.space-between
|
|
sib-display(
|
|
bind-resources
|
|
fields='label-captain, captain'
|
|
|
|
value-label-captain='Capitaine :'
|
|
class-label-captain='h2-like'
|
|
widget-captain='hubl-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
|
|
|
|
h2 Informations sur le client :
|
|
|
|
sib-display(
|
|
bind-resources
|
|
fields='customer'
|
|
|
|
widget-customer='hubl-customer'
|
|
)
|
|
|
|
h2 Equipe :
|
|
|
|
sib-display(
|
|
bind-resources
|
|
fields='members'
|
|
|
|
widget-members='hubl-project-team'
|
|
multiple-members
|
|
)
|
|
|
|
sib-widget(name='hubl-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}"
|
|
data-label='Quitter le groupe'
|
|
)
|
|
|
|
sib-display(
|
|
class='position-end'
|
|
bind-resources
|
|
nested-field='members'
|
|
fields='relation'
|
|
|
|
action-relation='relation'
|
|
widget-relation='hubl-project-leave-button'
|
|
|
|
search-fields='user'
|
|
search-widget-user='sib-form-hidden'
|
|
search-value-user=""
|
|
|
|
hubl-inherit-user-id="search-value-user"
|
|
)
|
|
|
|
|
|
#project-edit(hidden)
|
|
include page-project-edit.pug
|