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

80 lines
2.2 KiB
Plaintext
Raw Normal View History

2020-06-18 18:02:54 +00:00
solid-router(default-route='project-profile', hidden)
solid-route(name='project-profile')
solid-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
2020-06-11 13:20:20 +00:00
.flex.space-between.with-padding.mobile-vertical-align
2020-06-18 18:02:54 +00:00
solid-display.mobile-margin__bottom(
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 : '
2020-06-18 18:02:54 +00:00
widget-creationDate='solid-display-date'
)
2020-06-18 18:02:54 +00:00
solid-ac-checker(permission='acl:Append', bind-resources, nested-field='members')
solid-link(class='button mobile-full-width text-bold text-uppercase reversed button-primary bordered with-icon icon-pencil' next='project-edit' bind-resources) Modifier et ajouter un membre
2020-06-18 18:02:54 +00:00
solid-display(
class='flex desktop-button__end'
bind-resources
nested-field='members'
fields='relation'
action-relation='relation'
widget-relation='hubl-project-leave-button'
search-fields='user'
2020-06-18 18:02:54 +00:00
search-widget-user='solid-form-hidden'
search-value-user=""
hubl-inherit-user-id="search-value-user"
)
.flex.space-between
2020-06-18 18:02:54 +00:00
solid-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'
)
2020-06-18 18:02:54 +00:00
solid-display(
class='customer-logo'
bind-resources
fields='customer.logo'
2020-06-18 18:02:54 +00:00
widget-customer.logo='solid-display-img'
)
2020-04-21 16:30:19 +00:00
h2 Equipe :
2020-06-18 18:02:54 +00:00
solid-display.block(
bind-resources
fields='members'
multiple-members
widget-members='hubl-project-team'
)
2020-06-18 18:02:54 +00:00
solid-widget(name='hubl-project-leave-button')
template
2020-06-18 18:02:54 +00:00
solid-delete(
class='button mobile-full-width desktop-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'
)
2020-06-11 13:20:20 +00:00
#project-edit.content-box__height(hidden)
include page-project-edit.pug