mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
parent
31f3744ad9
commit
2e650a53db
@ -63,19 +63,27 @@ This group does not provide any permission: Ce groupe n'attribue aucune permissi
|
||||
|
||||
#admin section for users
|
||||
List users: Liste des utilisateurs
|
||||
user list: liste des utilisateurs
|
||||
user list: Liste des utilisateurs
|
||||
User edit: Modification d'un utilisateur
|
||||
User creation: Créer un utilisateur
|
||||
User'status: Statut de l'utilisateur
|
||||
Disabled, the user is not allowed to login: Désactivé, l'utilisateur n'est pas autorisé à se connecter
|
||||
Enabled, the user is active: Actif, l'utilisateur peut se connecter
|
||||
Edit password: Modifier le mot de passe
|
||||
Repeat the password: Répéter le mot de passe
|
||||
Permissions granted: Permissions accordées
|
||||
Any permissions granted to this user: Aucune permission n'est accordée à cet utilisateur
|
||||
Grant new permissions: Ajout de permissions
|
||||
Add a new groupCenter: Ajout de permissions
|
||||
The permissions have been successfully added to the user: Les permissions ont été accordées à l'utilisateur
|
||||
The permissions where removed.: Les permissions ont été enlevées.
|
||||
Center & groups: Centre et groupes
|
||||
User %username%: Utilisateur %username%
|
||||
Add a new user: Ajouter un nouvel utilisateur
|
||||
The permissions have been added: Les permissions ont été ajoutées
|
||||
Edit password for %username%: Éditer le mot de passe de %username%
|
||||
Change password: Changer le mot de passe
|
||||
Back to the user edition: Retour au formulaire d'édition
|
||||
|
||||
#admin section for circles (old: scopes)
|
||||
List circles: Liste des cercles
|
||||
|
@ -1,4 +1,6 @@
|
||||
# role_scope constraint
|
||||
# scope presence
|
||||
The role "%role%" require to be associated with a scope.: Le rôle "%role%" doit être associé à un cercle.
|
||||
The role "%role%" should not be associated with a scope.: Le rôle "%role%" ne doit pas être associé à un cercle.
|
||||
The role "%role%" should not be associated with a scope.: Le rôle "%role%" ne doit pas être associé à un cercle.
|
||||
"The password must contains one letter, one capitalized letter, one number and one special character as *[@#$%!,;:+\"'-/{}~=µ()£]). Other characters are allowed.": "Le mot de passe doit contenir une majuscule, une minuscule, et au moins un caractère spécial parmi *[@#$%!,;:+\"'-/{}~=µ()£]). Les autres caractères sont autorisés."
|
||||
The password fields must match: Les mots de passe doivent correspondre
|
@ -50,10 +50,10 @@
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p>{{ 'no permissions granted to this user'|trans }}</p>
|
||||
<p>{{ 'Any permissions granted to this user'|trans }}.</p>
|
||||
{% endif %}
|
||||
|
||||
<h2>{{ 'Grant new permissions'|trans }}</h2>
|
||||
<h3>{{ 'Grant new permissions'|trans }}</h3>
|
||||
|
||||
{{ form_start(add_groupcenter_form) }}
|
||||
{{ form_row(add_groupcenter_form.composed_groupcenter.center) }}
|
||||
@ -63,10 +63,15 @@
|
||||
{{ form_end(add_groupcenter_form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('admin_user') }}">
|
||||
{{ 'Back to the list'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<li>
|
||||
<a href="{{ path('admin_user_show', { 'id': entity.id }) }}">
|
||||
{{ 'show'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('admin_user') }}">
|
||||
{{ 'Back to the list'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
@ -5,7 +5,10 @@
|
||||
{% block admin_content -%}
|
||||
<h1>{{ 'Edit password for %username%'|trans( { '%username%': entity.username } ) }}</h1>
|
||||
|
||||
{{ form(edit_form) }}
|
||||
{{ form_start(edit_form) }}
|
||||
{{ form_row(edit_form.password) }}
|
||||
{{ form_widget(edit_form.submit, { 'attr': { 'class': 'sc-button orange' } } ) }}
|
||||
{{ form_end(edit_form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
|
@ -24,6 +24,9 @@
|
||||
<li>
|
||||
<a href="{{ path('admin_user_edit', { 'id': entity.id }) }}">{{ 'edit'|trans }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('admin_user_edit_password', { 'id' : entity.id }) }}">{{ 'Edit password'|trans }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -5,7 +5,11 @@
|
||||
{% block admin_content -%}
|
||||
<h1>{{ 'User creation'|trans }}</h1>
|
||||
|
||||
{{ form(form) }}
|
||||
{{ form_start(form) }}
|
||||
{{ form_row(form.username) }}
|
||||
{{ form_row(form.plainPassword.password) }}
|
||||
{{ form_widget(form.submit, { 'attr' : { 'class': 'sc-button blue' } }) }}
|
||||
{{ form_end(form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
|
@ -54,9 +54,9 @@
|
||||
</table>
|
||||
|
||||
{% else %}
|
||||
<p>{{ 'The user does not belong to any groupcenter'|trans }}.
|
||||
<p>{{ 'Any permissions granted to this user'|trans }}.
|
||||
<a href="{{ path('admin_user_edit', { 'id': entity.id }) }}">
|
||||
{{ 'Add new group centers'|trans }}
|
||||
{{ 'Grant new permissions'|trans }}
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user