From 08e03513ce4d09dd5f48987b986d76a4d7305730 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Tue, 21 Apr 2020 18:30:19 +0200 Subject: [PATCH] feature: project profile translated --- src/templates/hd-customer.pug | 6 +++--- src/views/project/page-project-left.pug | 4 ++-- src/views/project/page-project-profile.pug | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/templates/hd-customer.pug b/src/templates/hd-customer.pug index 04e891f..163fa93 100644 --- a/src/templates/hd-customer.pug +++ b/src/templates/hd-customer.pug @@ -2,13 +2,13 @@ sib-widget(name='hd-customer') template div.customer-box div - h3 Client: + h3 Client : ul - li #[span Business name: ]${await value.name} + li #[span Nom de l'entreprise : ]${await value.name} li ${await value.companyRegister ? `Company register: ${await value.companyRegister}` : ``} li ${await value.address ? `Address:

${await value.address}

`: ``} div - h3 Contact: + h3 Contact : 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 diff --git a/src/views/project/page-project-left.pug b/src/views/project/page-project-left.pug index b59103f..beb548c 100644 --- a/src/views/project/page-project-left.pug +++ b/src/views/project/page-project-left.pug @@ -1,5 +1,5 @@ #project-left div.content-box__info(style="padding: 15px") - p You have successfully left this project - p This is a private group, to join again, go to the administration panel and ask for an invite + p Tu as quitté ce projet. + p Ceci est un groupe privé. Pour le rejoindre, rends-toi dans le panneau administration et demande une invitation. diff --git a/src/views/project/page-project-profile.pug b/src/views/project/page-project-profile.pug index 2eaea4b..dbd7758 100644 --- a/src/views/project/page-project-profile.pug +++ b/src/views/project/page-project-profile.pug @@ -18,12 +18,12 @@ sib-router(default-route='project-profile', hidden) class-title='word-spacing-right' - value-title='Creation date: ' + value-title='Date de création : ' 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) 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 @@ -31,7 +31,7 @@ sib-router(default-route='project-profile', hidden) bind-resources fields='label-captain, captain' - value-label-captain='Captain:' + value-label-captain='Capitaine :' class-label-captain='h2-like' widget-captain='hd-captain' ) @@ -53,7 +53,7 @@ sib-router(default-route='project-profile', hidden) widget-businessProvider='hd-business-provider' ) - h2 Customer informations: + h2 Informations sur le client : sib-display( bind-resources @@ -62,7 +62,7 @@ sib-router(default-route='project-profile', hidden) widget-customer='hd-customer' ) - h2 Team: + h2 Equipe : sib-display( bind-resources @@ -77,7 +77,7 @@ sib-router(default-route='project-profile', hidden) 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' + data-label='Quitter le groupe' ) sib-display(