update: add a file for the businessprovider creation widget

This commit is contained in:
Marjolaine Le Bon 2021-05-10 11:17:20 +02:00
parent 6849f3d1fb
commit 9ce9e7d906
3 changed files with 19 additions and 18 deletions

View File

@ -13,23 +13,6 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespac
div
div
solid-widget(name="businessprovider-widget")
template
solid-form.segment.three-quarter.sm-full.margin-right-medium.margin-bottom-small(
data-src="\${value}"
data-holder
naked
fields="name, fee"
label-name=''
label-fee=''
class-name="segment two-third padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
class-fee="segment third padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
data-trans='label-name=project.create.labelBusinessproviderName;label-fee=project.create.labelBusinessproviderFee'
)
solid-form.form(
data-src=`${getComponent('projects').endpoints.post}`
@ -58,7 +41,7 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespac
class-businessprovider="segment full margin-bottom-medium"
multiple-businessprovider
widget-businessprovider="businessprovider-widget"
widget-businessprovider="hubl-project-businessprovider"
multiple-businessprovider-add-label=''
multiple-businessprovider-remove-label=''

View File

@ -48,6 +48,7 @@ include widgets/hubl-menu-jabberid.pug
include widgets/hubl-menu-publicprivate.pug
include widgets/hubl-project-admins.pug
include widgets/hubl-project-captain.pug
include widgets/hubl-project-businessprovider.pug
include widgets/hubl-project-edit-admin.pug
include widgets/hubl-project-edit-members-delete.pug
include widgets/hubl-project-team-contact.pug

View File

@ -0,0 +1,17 @@
if componentSet.has('invoice') && componentSet.has('projects')
solid-widget(name="hubl-project-businessprovider")
template
solid-form.segment.three-quarter.sm-full.margin-right-medium.margin-bottom-small(
data-src="\${value}"
data-holder
naked
fields="name, fee"
label-name=''
label-fee=''
class-name="segment two-third padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
class-fee="segment third padding-left-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
data-trans='label-name=project.create.labelBusinessproviderName;label-fee=project.create.labelBusinessproviderFee'
)