2019-12-18 18:50:47 +00:00
|
|
|
div.content-box__info
|
|
|
|
|
|
|
|
include templates/hd-user-avatar.pug
|
|
|
|
|
|
|
|
sib-widget(name='hd-fieldset-title')
|
|
|
|
template
|
|
|
|
label ${label}
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
sib-link(class='backlink', bind-resources, next='project-profile') Back
|
|
|
|
|
|
|
|
h1 Edit your project
|
2019-04-15 21:11:56 +00:00
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
sib-form.form-container.block(
|
|
|
|
bind-resources
|
|
|
|
|
|
|
|
fields='fieldset-info, block-project__info(customer.name, name, customer.logo, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee), fieldset-customer, block-project__customer(customer.companyRegister, customer.address, customer.firstName, customer.lastName, customer.role, customer.email, customer.phone)'
|
2019-05-14 15:32:42 +00:00
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
class-customer.name='form-label is-light is-half-width'
|
|
|
|
class-name='form-label is-light is-half-width'
|
|
|
|
class-customer.logo='form-label is-light is-full-width'
|
|
|
|
class-description='form-label is-light is-full-width'
|
|
|
|
label-fieldset-info=''
|
|
|
|
label-customer.name='Customer\'s name'
|
|
|
|
label-name='Project\'s name*'
|
|
|
|
label-customer.logo='Customer\'s logo'
|
|
|
|
label-description='Project description'
|
|
|
|
upload-url-customer.logo=''
|
|
|
|
widget-fieldset-info='hd-fieldset-title'
|
|
|
|
widget-description='sib-form-textarea'
|
|
|
|
|
|
|
|
class-fieldset-fee='fieldset'
|
|
|
|
class-businessprovider='form-label is-light is-half-width'
|
|
|
|
class-businessproviderfee='form-label is-light is-half-width'
|
|
|
|
label-fieldset-fee='Fee'
|
|
|
|
label-businessprovider='Business provider'
|
|
|
|
label-businessproviderfee='Amount of the contribution'
|
|
|
|
widget-fieldset-fee='hd-fieldset-title'
|
|
|
|
|
|
|
|
class-fieldset-customer='fieldset'
|
|
|
|
class-customer.companyregister='form-label is-light is-half-width'
|
|
|
|
class-customer.address='form-label is-light is-half-width'
|
|
|
|
class-customer.firstname='form-label is-light is-half-width'
|
|
|
|
class-customer.lastname='form-label is-light is-half-width'
|
|
|
|
class-customer.role='form-label is-light is-half-width'
|
|
|
|
class-customer.email='form-label is-light is-half-width'
|
|
|
|
class-customer.phone='form-label is-light is-half-width'
|
|
|
|
label-fieldset-customer='Customer\'s information'
|
|
|
|
label-customer.companyregister='Company register*'
|
|
|
|
label-customer.address='Address'
|
|
|
|
label-customer.firstname='Name of the contact at the customer\'s premises'
|
|
|
|
label-customer.lastname='Firstname of the contact at the customer\'s premises'
|
|
|
|
label-customer.role='Role within the company'
|
|
|
|
label-customer.email='Email'
|
|
|
|
label-customer.phone='Phone'
|
|
|
|
widget-fieldset-customer='hd-fieldset-title'
|
|
|
|
|
|
|
|
submit-button='Save'
|
|
|
|
)
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
h2 Members List
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
sib-form.block.team-form(
|
|
|
|
bind-resources
|
|
|
|
nested-field='members'
|
|
|
|
fields='user'
|
|
|
|
range-user=`${endpoints.users}`
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
class-user='team form-label is-dark'
|
|
|
|
label-user=''
|
|
|
|
widget-user='sib-form-auto-completion'
|
|
|
|
|
|
|
|
submit-button='Add a member'
|
|
|
|
)
|
|
|
|
|
|
|
|
.table
|
|
|
|
|
|
|
|
div.table-header.grey-color
|
|
|
|
div Name
|
|
|
|
div Access
|
|
|
|
|
|
|
|
//-class='table-body'
|
|
|
|
sib-display(
|
|
|
|
class='table-body'
|
2019-08-06 12:32:55 +00:00
|
|
|
bind-resources
|
2019-12-18 18:50:47 +00:00
|
|
|
fields='members'
|
2019-08-06 12:32:55 +00:00
|
|
|
|
2019-12-18 18:50:47 +00:00
|
|
|
multiple-members=''
|
|
|
|
widget-members='team-template-edit'
|
2019-08-06 12:32:55 +00:00
|
|
|
)
|