mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
import members interface
This commit is contained in:
parent
e7bb41f38d
commit
ad1b7baa05
@ -31,9 +31,6 @@
|
||||
<p class="alert alert-info" translate>
|
||||
{{ 'members_import.info' }}
|
||||
</p>
|
||||
<p class="alert alert-warning" translate>
|
||||
{{ 'members_import.required_fields' }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -86,7 +83,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row m-h-sm">
|
||||
<div class="row m-h-sm" ng-hide="Fablab.withoutPlans || plans.length == 0">
|
||||
|
||||
<div class="col-md-6 p-h-s">
|
||||
<h3 translate>{{ 'members_import.plans' }}</h3>
|
||||
@ -110,7 +107,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 p-h-s">
|
||||
<div class="col-md-6 p-h-s" ng-hide="tags.length == 0">
|
||||
<h3 translate>{{ 'members_import.tags' }}</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
@ -142,18 +139,31 @@
|
||||
|
||||
<div class="panel-body m-r">
|
||||
<div class="row m-t">
|
||||
<div class="col-sm-6 col-sm-offset-5">
|
||||
<div class="form-group">
|
||||
<span>Lorem ipsum dolor sit amet consectetur adipiscing elit</span>
|
||||
</div>
|
||||
<p class="alert alert-warning m-h" translate>
|
||||
{{ 'members_import.required_fields' }}
|
||||
</p>
|
||||
<p class="alert alert-warning m-h" translate>
|
||||
{{ 'members_import.about_example' }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="fileinput input-group" data-provides="fileinput" ng-class="fileinputClass()">
|
||||
<div class="form-control" data-trigger="fileinput">
|
||||
<i class="glyphicon glyphicon-file fileinput-exists"></i> <span class="fileinput-filename">{{file.attachment}}</span>
|
||||
</div>
|
||||
<span class="input-group-addon btn btn-default btn-file"><span class="fileinput-new" translate>{{ 'members_import.select_file' }}</span>
|
||||
<span class="fileinput-exists" translate>{{ 'change' }}</span>
|
||||
<input type="file"
|
||||
name="import-members"
|
||||
accept="text/csv"></span>
|
||||
<a class="input-group-addon btn btn-danger fileinput-exists" data-dismiss="fileinput" ng-click="deleteFile(file)"><i class="fa fa-trash-o"></i></a>
|
||||
</div>
|
||||
|
||||
</div> <!-- ./panel-body -->
|
||||
|
||||
|
||||
<div class="panel-footer no-padder">
|
||||
<input type="submit" value="{{ 'save' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="importForm.$invalid"/>
|
||||
<input type="submit" value="{{ 'members_import.import' | translate }}" class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c" ng-disabled="importForm.$invalid"/>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
@ -574,7 +574,8 @@ en:
|
||||
members_import:
|
||||
import_members: "Import members"
|
||||
info: "you can upload a CSV file to create new members or update existing ones. Your file must user the identifiers below to specify the group, trainings, suscription and tags of the members."
|
||||
required_fields: "Your file must contain, at least, the following information for each user to create: email, name, first name and group."
|
||||
required_fields: "Your file must contain, at least, the following information for each user to create: email, name, first name and group. If the password is empty, it will be generated. On updates, the empty fields will be kept as is."
|
||||
about_example: "Please refer to the provided example file to generate a correct CSV file. Be careful to use Unicode UTF-8 encoding."
|
||||
groups: "Groups"
|
||||
group_name: "Group name"
|
||||
group_identifier: "Identifier to use"
|
||||
@ -589,6 +590,7 @@ en:
|
||||
tag_identifier: "Identifier to use"
|
||||
download_example: "Download the exemple file"
|
||||
select_file: "Choose a file"
|
||||
import: "Import"
|
||||
|
||||
members_edit:
|
||||
# edit a member
|
||||
|
@ -574,7 +574,8 @@ es:
|
||||
members_import:
|
||||
import_members: "Import members" # translation_missing
|
||||
info: "you can upload a CSV file to create new members or update existing ones. Your file must user the identifiers below to specify the group, trainings, suscription and tags of the members." # translation_missing
|
||||
required_fields: "Your file must contain, at least, the following information for each user to create: email, name, first name and group." # translation_missing
|
||||
required_fields: "Your file must contain, at least, the following information for each user to create: email, name, first name and group. If the password is empty, it will be generated. On updates, the empty fields will be kept as is." # translation_missing
|
||||
about_example: "Please refer to the provided example file to generate a correct CSV file. Be careful to use Unicode UTF-8 encoding." # translation_missing
|
||||
groups: "Groups" # translation_missing
|
||||
group_name: "Group name" # translation_missing
|
||||
group_identifier: "Identifier to use" # translation_missing
|
||||
@ -589,6 +590,7 @@ es:
|
||||
tag_identifier: "Identifier to use" # translation_missing
|
||||
download_example: "Download the exemple file" # translation_missing
|
||||
select_file: "Choose a file" # translation_missing
|
||||
import: "Import" # translation_missing
|
||||
|
||||
members_edit:
|
||||
# edit a member
|
||||
|
@ -574,7 +574,8 @@ fr:
|
||||
members_import:
|
||||
import_members: "Importer des membres"
|
||||
info: "Vous pouvez téléverser un fichier CVS afin de créer des nouveaux membres ou de mettre à jour les existants. Votre fichier doit utiliser les identifiants ci-dessous pour spécifier les groupe, formations, abonnement et étiquettes des membres."
|
||||
required_fields: "Votre fichier doit obligatoirement comporter, au minimum, les informations suivantes pour chaque utilisateur à créer : courriel, nom, prénom et groupe."
|
||||
required_fields: "Votre fichier doit obligatoirement comporter, au minimum, les informations suivantes pour chaque utilisateur à créer : courriel, nom, prénom et groupe. Si le mot passe n'est pas rempli, il sera généré automatiquement. Lors d'une mise à jour, les champs non remplis seront gardés tel quels."
|
||||
about_example: "Merci de vous référer au fichier d'exemple fourni pour générer un fichier CSV au bon format. Attention à l'utiliser l'encodage Unicode UTF-8"
|
||||
groups: "Groupes"
|
||||
group_name: "Nom du groupe"
|
||||
group_identifier: "Identifiant à utiliser"
|
||||
@ -589,6 +590,7 @@ fr:
|
||||
tag_identifier: "Identifiant à utiliser"
|
||||
download_example: "Télécharger le fichier d'exemple"
|
||||
select_file: "Choisissez un fichier"
|
||||
import: "Importer"
|
||||
|
||||
members_edit:
|
||||
# modifier un membre
|
||||
|
@ -574,7 +574,8 @@ pt:
|
||||
members_import:
|
||||
import_members: "Import members" # translation_missing
|
||||
info: "you can upload a CSV file to create new members or update existing ones. Your file must user the identifiers below to specify the group, trainings, suscription and tags of the members." # translation_missing
|
||||
required_fields: "Your file must contain, at least, the following information for each user to create: email, name, first name and group." # translation_missing
|
||||
required_fields: "Your file must contain, at least, the following information for each user to create: email, name, first name and group. If the password is empty, it will be generated. On updates, the empty fields will be kept as is." # translation_missing
|
||||
about_example: "Please refer to the provided example file to generate a correct CSV file. Be careful to use Unicode UTF-8 encoding." # translation_missing
|
||||
groups: "Groups" # translation_missing
|
||||
group_name: "Group name" # translation_missing
|
||||
group_identifier: "Identifier to use" # translation_missing
|
||||
@ -589,6 +590,7 @@ pt:
|
||||
tag_identifier: "Identifier to use" # translation_missing
|
||||
download_example: "Download the exemple file" # translation_missing
|
||||
select_file: "Choose a file" # translation_missing
|
||||
import: "Import" # translation_missing
|
||||
|
||||
members_edit:
|
||||
# edit a member
|
||||
|
Loading…
x
Reference in New Issue
Block a user