hubl/src/views/project/page-project-profile.pug

81 lines
2.1 KiB
Plaintext
Raw Normal View History

sib-router(default-route='project-profile', hidden)
sib-route(name='project-profile')
sib-route(name='project-edit')
#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
.content-box__info.flex
.flex.space-between.with-padding
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 : '
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
.flex.space-between.with-padding
sib-display(
bind-resources
fields='label-captain, captain'
2020-04-21 16:30:19 +00:00
value-label-captain='Capitaine :'
class-label-captain='h2-like'
2020-05-08 13:27:44 +00:00
widget-captain='hubl-captain'
)
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 :
sib-display(
bind-resources
fields='members'
2020-05-08 13:27:44 +00:00
widget-members='hubl-project-team'
multiple-members
)
2020-05-08 13:27:44 +00:00
sib-widget(name='hubl-project-leave-button')
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'
data-src="${src}"
2020-04-21 16:30:19 +00:00
data-label='Quitter le groupe'
)
sib-display(
class='flex button-end'
bind-resources
nested-field='members'
fields='relation'
action-relation='relation'
2020-05-08 13:27:44 +00:00
widget-relation='hubl-project-leave-button'
search-fields='user'
search-widget-user='sib-form-hidden'
search-value-user=""
2020-05-08 13:27:44 +00:00
hubl-inherit-user-id="search-value-user"
)
#project-edit(hidden)
include page-project-edit.pug