feature: edit a circle translated

This commit is contained in:
gaelle morin 2020-04-21 11:28:24 +02:00 committed by Jean-Baptiste Pasquier
parent 86a4eb6b0b
commit 574087cd10
2 changed files with 13 additions and 12 deletions

View File

@ -31,7 +31,7 @@ div.content-box__info
sib-delete(
class='button text-bold text-uppercase reversed button-dark bordered with-icon icon-close'
data-src="${value['@id']}"
data-label='Leave the circle'
data-label='Quitter le canal'
)
//- Only to show the table grid
@ -41,10 +41,10 @@ div.content-box__info
data-src="${value['@id']}"
)
sib-link(class="backlink right", bind-resources, next='circle-profile') Back
sib-link(class="backlink right", bind-resources, next='circle-profile') Retour
sib-ac-checker(permission='acl:Write', bind-resources)
h1 Edit your circle
h1 Modifie ton canal
sib-form.form-edit(
bind-resources
@ -52,8 +52,9 @@ div.content-box__info
fields='block-circle__info(name, owner), description'
range-owner=`${endpoints.users || endpoints.get.users}`
label-owner='owner'
label-description='circle subtitle'
label-name='Nom du canal'
label-owner='Administrateur ou administratrice'
label-description='Sous-titre du canal'
class-name='form-label is-light is-half-width'
class-owner='form-label is-light is-half-width member-select color'
@ -63,11 +64,11 @@ div.content-box__info
partial=''
submit-button='Save'
submit-button='Enregistrer'
next='circle-information'
)
h2 Members list
h2 Liste des membres:
sib-ac-checker(permission='acl:Append', bind-resources, nested-field='members')
sib-form.block.select-add-member(
@ -80,14 +81,14 @@ div.content-box__info
label-user=''
widget-user='sib-form-auto-completion'
submit-button='Add a member'
submit-button='Ajouter un membre'
)
.table
div.table-header.grey-color
div Name
div Access
div Nom
div Accès
//-class='table-body'
sib-display(

View File

@ -18,7 +18,7 @@ sib-router(default-route='circle-profile', hidden)
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='circle-edit' bind-resources) Edit and add Members
sib-link(class='button text-bold text-uppercase reversed button-blue bordered with-icon icon-pencil' next='circle-edit' bind-resources) Modifier et ajouter un membre
h2 Members:
@ -36,7 +36,7 @@ sib-router(default-route='circle-profile', hidden)
sib-delete(
class='button text-bold text-uppercase button-blue bordered with-icon icon-trash'
bind-resources
data-label='Delete Circle'
data-label='Supprimer le canal'
)
sib-widget(name='circle-leave-button')