update: simplify display business provider on profile project

This commit is contained in:
Marjolaine Le Bon 2021-05-06 15:35:47 +02:00 committed by Jean-Baptiste Pasquier
parent 3f8c298ed4
commit e335cf5b1f
5 changed files with 14 additions and 20 deletions

View File

@ -221,7 +221,7 @@
"labelCaptain": "Captain *",
"labelDescription": "Project description",
"descriptionHelp": "You can use markdown",
"businessProviderTitle": "Business Provider",
"businessProviderTitle": "Business Provider : ",
"businessTableHeader1": "Business provider name",
"businessTableHeader2": "Amount of contribution (%)",
"buttonAddBusinessProvider": "Add",
@ -265,10 +265,8 @@
"description": "Description :",
"clientInformations": "Client Informations : ",
"customerName": "Customer name : ",
"customerAddress": "Customer address : ",
"customerAddress": "Customer address : ",
"businessProvider": "Business Provider : ",
"businessProviderName": "Business provider name : ",
"businessProviderFee": "Amount of contribution : ",
"subTitle": "Team :"
}
},

View File

@ -221,7 +221,7 @@
"labelCaptain": "Capitain *",
"labelDescription": "Descripción del proyecto",
"descriptionHelp": "Puedes usar markdown",
"businessProviderTitle": "Contribución empresarial",
"businessProviderTitle": "Contribución empresarial : ",
"businessTableHeader1": "Nombre del contribuyente empresarial",
"businessTableHeader2": "Importe de la contribución (%)",
"buttonAddBusinessProvider": "Añadir",
@ -267,8 +267,6 @@
"customerName": "Nombre del/la clientx : ",
"customerAddress": "Dirección del/la clientx : ",
"businessProvider": "Contribución empresarial : ",
"businessProviderName": "Nombre del contribuyente empresarial : ",
"businessProviderFee": "Importe de la contribución : ",
"subTitle": "Equipo : "
}
},

View File

@ -219,7 +219,7 @@
"labelCaptain": "Capitaine *",
"labelDescription": "Description du projet",
"descriptionHelp": "Vous pouvez utiliser Markdown",
"businessProviderTitle": "Apport d'affaire",
"businessProviderTitle": "Apport d'affaire : ",
"businessTableHeader1": "Nom de l'apporteur d'affaire",
"businessTableHeader2": "Montant de l'apport d'affaire (%)",
"buttonAddBusinessProvider": "Ajouter",
@ -265,8 +265,6 @@
"customerName": "Nom du client : ",
"customerAddress": "Adresse du client : ",
"businessProvider": "Apport d'affaire : ",
"businessProviderName": "Nom de l'apporteur d'affaire : ",
"businessProviderFee": "Montant de l'apport d'affaire : ",
"subTitle": "Equipe :"
}
},

View File

@ -39,6 +39,10 @@
}
}
#projects-information .display-businessprovider {
[name="name"]::after {
content: " - ";
margin-left: 5px;
}
[name="fee"]:after {
content: " %";
}

View File

@ -120,22 +120,18 @@ div(
data-trans='value-titlecustomername=project.profile.customerName;value-titlecustomeraddress=project.profile.customerAddress'
)
solid-display.segment.block.full.labelled-avatar.two-lines.whitespace-normal.children.children-full.sm-children-full.children-margin-bottom-medium.display-businessprovider(
solid-display.segment.block.full.labelled-avatar.two-lines.whitespace-normal.children.children-full.sm-children-full.margin-bottom-medium.display-businessprovider(
bind-resources
nested-field='businessprovider'
fields='titlebusinessprovider, businessProvider(businessProviderName(titlebusinessprovidername, name), businessProviderFee(titlebusinessproviderfee, fee))'
fields='titlebusinessprovider, businessProvider(name, fee)'
value-titlebusinessprovider=''
value-titlebusinessprovidername=''
value-titlebusinessproviderfee=''
class-businessProviderName="segment block margin-bottom-xxsmall"
class-businessProviderFee="segment block margin-bottom-small"
class-titlebusinessprovider="segment block text-color-heading text-bold text-letter-spacing-large text-xlarge margin-top-medium margin-bottom-small"
class-titlebusinessprovidername="text-semibold text-color-heading margin-right-xxsmall"
class-titlebusinessproviderfee="text-semibold text-color-heading margin-right-xxsmall"
class-titlebusinessprovider="segment block text-color-heading text-bold text-letter-spacing-large text-xlarge margin-bottom-small"
class-businessProvider="segment block margin-bottom-xsmall"
class-fee="margin-left-xxsmall"
data-trans='value-titlebusinessprovider=project.profile.businessProvider;value-titlebusinessprovidername=project.profile.businessProviderName;value-titlebusinessproviderfee=project.profile.businessProviderFee'
data-trans='value-titlebusinessprovider=project.profile.businessProvider'
)
h3.text-color-heading.text-bold.text-letter-spacing-large(data-trans='project.profile.subTitle')