Commit 13739838 by Fernando Martínez Santiago

Merge branch 'develop' of http://scm.ujaen.es/softuno/pictogram into develop

parents ebfd293d 743c7416
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
"alert": "Alert", "alert": "Alert",
"all": "All", "all": "All",
"animation": "Animation", "animation": "Animation",
"apply":"Apply",
"annual": "Annual", "annual": "Annual",
"April": "April", "April": "April",
"attributes_not_updated": "Changes not saved", "attributes_not_updated": "Changes not saved",
...@@ -125,7 +126,11 @@ ...@@ -125,7 +126,11 @@
"large": "Large", "large": "Large",
"last_session": "Last session", "last_session": "Last session",
"legend": "Legend", "legend": "Legend",
"legend_none":"No legend",
"legend_normal":"Normal legend",
"legend_full":"Only legend",
"legend_size": "Legend size", "legend_size": "Legend size",
"legend_apply_all":"Apply to all pictograms",
"licenses": "Licenses (max. number of students)", "licenses": "Licenses (max. number of students)",
"licenses_left": "{{number}} licenses left", "licenses_left": "{{number}} licenses left",
"light_up": "Light up", "light_up": "Light up",
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
"alert": "Alerta", "alert": "Alerta",
"all": "Todos", "all": "Todos",
"animation": "Animación", "animation": "Animación",
"apply":"Aplicar",
"annual": "Anual", "annual": "Anual",
"April": "Abril", "April": "Abril",
"attributes_not_updated": "Cambios no guardados", "attributes_not_updated": "Cambios no guardados",
...@@ -125,6 +126,10 @@ ...@@ -125,6 +126,10 @@
"large": "Grande", "large": "Grande",
"last_session": "Última sesión", "last_session": "Última sesión",
"legend": "Leyenda", "legend": "Leyenda",
"legend_none":"Sin leyenda",
"legend_normal":"Leyenda normal",
"legend_full":"Sólo leyenda",
"legend_apply_all":"Aplicar a todos los pictogramas",
"legend_size": "Tamaño de la leyenda", "legend_size": "Tamaño de la leyenda",
"licenses": "Licencias (número máximo de estudiantes)", "licenses": "Licencias (número máximo de estudiantes)",
"licenses_left": "{{number}} licencias disponibles", "licenses_left": "{{number}} licencias disponibles",
......
...@@ -50,24 +50,24 @@ ...@@ -50,24 +50,24 @@
</select> </select>
</div> --> </div> -->
<input type="radio" ng-model="studentPicto.attributes.legend" value="none" ng-change="update_properties()"> <input type="radio" ng-model="studentPicto.attributes.legend" value="none" ng-change="update_properties()">
Sin leyenda <span translate>legend_none</span>
<br/> <br/>
<input type="radio" ng-model="studentPicto.attributes.legend" value="normal" ng-change="update_properties()"> <input type="radio" ng-model="studentPicto.attributes.legend" value="normal" ng-change="update_properties()">
Leyenda normal <span translate>legend_normal</span>
<br/> <br/>
<input type="radio" ng-model="studentPicto.attributes.legend" value="full" ng-change="update_properties()"> <input type="radio" ng-model="studentPicto.attributes.legend" value="full" ng-change="update_properties()">
Solo leyenda <span translate>legend_full</span>
</div> </div>
</div> </div>
<hr> <hr>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-8">
<input type="checkbox"> <input type="checkbox">
Aplicar a todos los pictogramas <span translate>legend_apply_all</span>
</div> </div>
<div class="col-md-6"> <div class="col-md-4">
<div class="form-group text-center"> <div class="form-group text-center">
<button type="submit" class="btn btn-primary ng-scope" ng-click="">Aplicar</button> <button type="submit" class="btn btn-primary ng-scope" ng-click="" disabled translate>apply</button>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<select class="form-control" name="student_gender" id="student_gender" ng-model="formUser.gender" required> <select class="form-control" name="student_gender" id="student_gender" ng-model="formUser.gender" required>
<option value="F" selected translate>woman</option> <option value=" ">&nsp;</option>
<option value="F" translate>woman</option>
<option value="M" translate>man</option> <option value="M" translate>man</option>
</select> </select>
</div> </div>
...@@ -59,7 +60,7 @@ ...@@ -59,7 +60,7 @@
</div> </div>
</fieldset> </fieldset>
<fieldset> <fieldset ng-if="studentData.supervision != 1">
<legend translate>notes</legend> <legend translate>notes</legend>
<div class="form-group"> <div class="form-group">
<textarea class="form-control" name="student_notes" id="student_notes" ng-model="formUser.notes" rows="5"></textarea> <textarea class="form-control" name="student_notes" id="student_notes" ng-model="formUser.notes" rows="5"></textarea>
...@@ -87,7 +88,7 @@ ...@@ -87,7 +88,7 @@
<!-- Parte derecha: Tutores y dispositivos --> <!-- Parte derecha: Tutores y dispositivos -->
<div class="col-md-6"> <div class="col-md-6">
<!-- Supervisores (terapeutas) del alumno --> <!-- Supervisores (terapeutas) del alumno -->
<div id="student_sups"> <div id="student_sups" ng-if="studentData.supervision != 1">
<h3 translate>supervisors</h3> <h3 translate>supervisors</h3>
<!-- Buscador de supervisores --> <!-- Buscador de supervisores -->
<p> <p>
...@@ -127,7 +128,7 @@ ...@@ -127,7 +128,7 @@
<!-- Fin de id student-sups --> <!-- Fin de id student-sups -->
<!-- Tutores (Padres) --> <!-- Tutores (Padres) -->
<div id="student_tutors"> <div id="student_tutors" ng-if="studentData.supervision != 1">
<h3>{{ 'tutors' | translate }}</h3> <h3>{{ 'tutors' | translate }}</h3>
<!-- Buscador de tutores --> <!-- Buscador de tutores -->
<p> <p>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<!-- Add Student button and Search row --> <!-- Add Student button and Search row -->
<div class="row"> <div class="row">
<div class="col-xs-3"> <div class="col-xs-3">
<p class="text-left" ng-hide="!user.isSupAdmin || !num_licenses_left || !hidestudentadd"> <p class="text-left" ng-hide="!user.isSupAdmin || !hidestudentadd">
<a ng-click="resetForm(); hidestudentadd = false" class="btn btn-success btn-sm" role="button"> <a ng-click="resetForm(); hidestudentadd = false" class="btn btn-success btn-sm" role="button">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> {{ 'add_student' | translate }} <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> {{ 'add_student' | translate }}
</a> </a>
...@@ -60,9 +60,8 @@ ...@@ -60,9 +60,8 @@
<span class="btn btn-default btn-lg" role="button" alt="{{ 'reports' | translate}}" popover="{{ 'reports' | translate}}" popover-trigger="mouseenter" ng-if="student.supervision == 1"><span class="glyphicon glyphicon-file" aria-hidden="true" style="color: #bbb"></span></span> <span class="btn btn-default btn-lg" role="button" alt="{{ 'reports' | translate}}" popover="{{ 'reports' | translate}}" popover-trigger="mouseenter" ng-if="student.supervision == 1"><span class="glyphicon glyphicon-file" aria-hidden="true" style="color: #bbb"></span></span>
<a class="btn btn-default btn-lg" role="button" href="/app/#/student/{{student.id}}/setup" alt="{{ 'setup' | translate}}" popover="{{ 'setup' | translate}}" popover-trigger="mouseenter" ng-if="student.supervision != 1"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a> <a class="btn btn-default btn-lg" role="button" href="/app/#/student/{{student.id}}/setup" alt="{{ 'setup' | translate}}" popover="{{ 'setup' | translate}}" popover-trigger="mouseenter"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></a>
<span class="btn btn-default btn-lg" role="button" alt="{{ 'setup' | translate}}" popover="{{ 'setup' | translate}}" popover-trigger="mouseenter" ng-if="student.supervision == 1"><span class="glyphicon glyphicon-cog" aria-hidden="true" style="color: #bbb"></span></span>
</td> <!-- /BUTTONS --> </td> <!-- /BUTTONS -->
<td> <td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment