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)
|
|
|
|
include templates/hd-business-provider.pug
|
|
|
|
include templates/hd-captain.pug
|
|
|
|
include templates/hd-circle-team.pug
|
|
|
|
include templates/hd-customer.pug
|
|
|
|
|
|
|
|
.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'
|
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
value-title='Creation date: '
|
|
|
|
|
|
|
|
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) Edit and add Members
|
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'
|
|
|
|
|
|
|
|
value-label-captain='Captain:'
|
|
|
|
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'
|
|
|
|
)
|
|
|
|
|
|
|
|
h2 Customer informations:
|
|
|
|
|
|
|
|
sib-display.block(
|
|
|
|
bind-resources
|
|
|
|
fields='customer'
|
|
|
|
|
|
|
|
widget-customer='hd-customer'
|
|
|
|
)
|
|
|
|
|
|
|
|
h2 Team:
|
|
|
|
|
|
|
|
sib-display(
|
|
|
|
bind-resources
|
|
|
|
fields='team'
|
|
|
|
|
|
|
|
widget-team='circle-team-template'
|
|
|
|
multiple-team
|
|
|
|
)
|
|
|
|
|
|
|
|
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}"
|
|
|
|
data-label='Leave Group'
|
|
|
|
)
|
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"
|
|
|
|
hd-inherit-widgets
|
|
|
|
)
|
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
|