feature: project profile translated

This commit is contained in:
gaelle morin 2020-04-21 18:30:19 +02:00 committed by Jean-Baptiste Pasquier
parent 49f95489bb
commit 08e03513ce
3 changed files with 11 additions and 11 deletions

View File

@ -2,13 +2,13 @@ sib-widget(name='hd-customer')
template template
div.customer-box div.customer-box
div div
h3 Client: h3 Client :
ul ul
li #[span Business name: ]${await value.name} li #[span Nom de l'entreprise : ]${await value.name}
li ${await value.companyRegister ? `<span>Company register: </span> ${await value.companyRegister}` : ``} li ${await value.companyRegister ? `<span>Company register: </span> ${await value.companyRegister}` : ``}
li ${await value.address ? `<span>Address: </span><br/><p>${await value.address}</p>`: ``} li ${await value.address ? `<span>Address: </span><br/><p>${await value.address}</p>`: ``}
div div
h3 Contact: h3 Contact :
ul ul
li #[span(class='mdi-account-outline') ${await value.first_name} ${await value.last_name ? await value.last_name : ""}]${await value.role ? `, ${await value.role}` : ""} li #[span(class='mdi-account-outline') ${await value.first_name} ${await value.last_name ? await value.last_name : ""}]${await value.role ? `, ${await value.role}` : ""}
li li

View File

@ -1,5 +1,5 @@
#project-left #project-left
div.content-box__info(style="padding: 15px") div.content-box__info(style="padding: 15px")
p You have successfully left this project p Tu as quitté ce projet.
p This is a private group, to join again, go to the <sib-link next="admin-project-list">administration</sib-link> panel and ask for an invite p Ceci est un groupe privé. Pour le rejoindre, rends-toi dans le panneau <sib-link next="admin-project-list">administration</sib-link> et demande une invitation.

View File

@ -18,12 +18,12 @@ sib-router(default-route='project-profile', hidden)
class-title='word-spacing-right' class-title='word-spacing-right'
value-title='Creation date: ' value-title='Date de création : '
widget-creationDate='sib-display-date' widget-creationDate='sib-display-date'
) )
sib-ac-checker(permission='acl:Append', bind-resources, nested-field='members') 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) Modifier et ajouter des membres sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='project-edit' bind-resources) Modifier et ajouter un membre
.space-between .space-between
@ -31,7 +31,7 @@ sib-router(default-route='project-profile', hidden)
bind-resources bind-resources
fields='label-captain, captain' fields='label-captain, captain'
value-label-captain='Captain:' value-label-captain='Capitaine :'
class-label-captain='h2-like' class-label-captain='h2-like'
widget-captain='hd-captain' widget-captain='hd-captain'
) )
@ -53,7 +53,7 @@ sib-router(default-route='project-profile', hidden)
widget-businessProvider='hd-business-provider' widget-businessProvider='hd-business-provider'
) )
h2 Customer informations: h2 Informations sur le client :
sib-display( sib-display(
bind-resources bind-resources
@ -62,7 +62,7 @@ sib-router(default-route='project-profile', hidden)
widget-customer='hd-customer' widget-customer='hd-customer'
) )
h2 Team: h2 Equipe :
sib-display( sib-display(
bind-resources bind-resources
@ -77,7 +77,7 @@ sib-router(default-route='project-profile', hidden)
sib-delete( sib-delete(
class='button btn-margin-left text-bold text-uppercase reversed button-dark bordered with-icon icon-close' class='button btn-margin-left text-bold text-uppercase reversed button-dark bordered with-icon icon-close'
data-src="${src}" data-src="${src}"
data-label='Leave Group' data-label='Quitter le groupe'
) )
sib-display( sib-display(