1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

prevent admin from changing group + add info about configuring groups first

This commit is contained in:
Sylvain 2020-03-03 11:59:17 +01:00
parent f5955b74d2
commit 8a1518dabc
5 changed files with 5 additions and 5 deletions

View File

@ -77,7 +77,7 @@
<i class="fa fa-asterisk" aria-hidden="true"></i>
</span>
</span>
<select ng-model="user.group_id" class="form-control" required>
<select ng-model="user.group_id" class="form-control" ng-disabled="user.role === 'admin'" required>
<option value=null translate>{{ 'app.logged.profile_completion.your_user_s_profile' }}</option>
<option ng-repeat="group in groups" ng-value="group.id" ng-selected="group.id == user.group_id">{{group.name}}</option>
</select>

View File

@ -1129,7 +1129,7 @@ en:
content: "In the same way as the members, manage the administrators of your Fab-manager here.<br>The administrators can take reservations for any member as well as modify all the parameters of the software."
groups:
title: "Manage groups"
content: "Groups allow you to better segment your price list."
content: "<p>Groups allow you to better segment your price list.</p><p>When you set up Fab-manager for the first time, it is recommended to start by defining the groups.</p>"
labels:
title: "Manage tags"
content: "The labels allow you to reserve certain slots for users associated with these same labels."

View File

@ -1129,7 +1129,7 @@ es:
content: "In the same way as the members, manage the administrators of your Fab-manager here.<br>The administrators can take reservations for any member as well as modify all the parameters of the software."
groups:
title: "Manage groups"
content: "Groups allow you to better segment your price list."
content: "<p>Groups allow you to better segment your price list.</p><p>When you set up Fab-manager for the first time, it is recommended to start by defining the groups.</p>"
labels:
title: "Manage tags"
content: "The labels allow you to reserve certain slots for users associated with these same labels."

View File

@ -1128,7 +1128,7 @@ fr:
content: "De la même manière que les membres, gérez ici les administrateurs de votre Fab-manager.<br>Les administrateurs peuvent prendre des réservations pour n'importe quel membre ainsi que modifier l'ensemble des paramètres du logiciel."
groups:
title: "Gérer les groupes"
content: "Les groupes vous permettent de mieux segmenter votre offre tarifaire."
content: "<p>Les groupes vous permettent de mieux segmenter votre offre tarifaire.</p><p>Lorsque vous paramétrez Fab-manager pour la première fois, il est recommandé de commencer par définir les groupes.</p>"
labels:
title: "Gérer les étiquettes"
content: "Les étiquettes vous permettent de réserver certains créneaux aux utilisateurs associés à ces mêmes étiquettes."

View File

@ -1129,7 +1129,7 @@ pt:
content: "In the same way as the members, manage the administrators of your Fab-manager here.<br>The administrators can take reservations for any member as well as modify all the parameters of the software."
groups:
title: "Manage groups"
content: "Groups allow you to better segment your price list."
content: "<p>Groups allow you to better segment your price list.</p><p>When you set up Fab-manager for the first time, it is recommended to start by defining the groups.</p>"
labels:
title: "Manage tags"
content: "The labels allow you to reserve certain slots for users associated with these same labels."