Fix broken section view
This commit is contained in:
@@ -25,11 +25,11 @@
|
||||
vm.matricula = successResult;
|
||||
angular.forEach(vm.matricula, function (value){
|
||||
matriculaArray.push({
|
||||
Nombre:value.Nombre,
|
||||
Codigo:value.Codigo,
|
||||
Materia:value.Materia,
|
||||
Semestre:value.Semestre,
|
||||
Estudiantes: value.Estudiantes
|
||||
section:value.section,
|
||||
code:value.code,
|
||||
course:value.course,
|
||||
semester:value.semester,
|
||||
student: value.student
|
||||
});
|
||||
});
|
||||
$rootScope.loading = false;
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
$scope.modalInstance = $modal.open({
|
||||
animation: $rootScope.animationsEnabled,
|
||||
templateUrl: 'partials/matricula/modal/eliminar_matricula_modal.html',
|
||||
templateUrl: 'partials/section/modal/delete_section_modal.html',
|
||||
scope: $scope,
|
||||
size: 'sm',
|
||||
resolve: {
|
||||
@@ -159,7 +159,7 @@
|
||||
|
||||
$scope.modalInstance = $modal.open({
|
||||
animation: $rootScope.animationsEnabled,
|
||||
templateUrl: 'partials/matricula/modal/crear_matricula_modal.html',
|
||||
templateUrl: 'partials/section/modal/create_section_modal.html',
|
||||
scope: $scope,
|
||||
size: 'sm',
|
||||
resolve: {
|
||||
@@ -244,7 +244,7 @@
|
||||
|
||||
$scope.modalInstance = $modal.open({
|
||||
animation: $rootScope.animationsEnabled,
|
||||
templateUrl: 'partials/matricula/modal/actualizar_matricula_modal.html',
|
||||
templateUrl: 'partials/section/modal/update_section_modal.html',
|
||||
scope: $scope,
|
||||
size: 'sm',
|
||||
resolve: {
|
||||
|
@@ -5,33 +5,33 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%">
|
||||
<a href="" ng-click="sortType = 'Nombre';
|
||||
<a href="" ng-click="sortType = 'section';
|
||||
sortReverse = !sortReverse">
|
||||
Sección
|
||||
<span ng-show="sortType == 'Nombre' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'Nombre' && sortReverse" class="fa fa-caret-up"></span>
|
||||
<span ng-show="sortType == 'section' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'section' && sortReverse" class="fa fa-caret-up"></span>
|
||||
</a>
|
||||
</th>
|
||||
<th width="20%">
|
||||
<a href=""
|
||||
ng-click="sortType = 'Materia'; sortReverse = !sortReverse">
|
||||
ng-click="sortType = 'course'; sortReverse = !sortReverse">
|
||||
Nombre de la Materia
|
||||
<span ng-show="sortType == 'Materia' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'Materia' && sortReverse" class="fa fa-caret-up"></span>
|
||||
<span ng-show="sortType == 'course' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'course' && sortReverse" class="fa fa-caret-up"></span>
|
||||
</a>
|
||||
</th>
|
||||
<th width="20%">
|
||||
<a href="" ng-click="sortType = 'Codigo'; sortReverse = !sortReverse">
|
||||
<a href="" ng-click="sortType = 'code'; sortReverse = !sortReverse">
|
||||
Codigo de la Materia
|
||||
<span ng-show="sortType == 'Codigo' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'Codigo' && sortReverse" class="fa fa-caret-up"></span>
|
||||
<span ng-show="sortType == 'code' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'code' && sortReverse" class="fa fa-caret-up"></span>
|
||||
</a>
|
||||
</th>
|
||||
<th width="20%">
|
||||
<a href="" ng-click="sortType = 'Semestre'; sortReverse = !sortReverse">
|
||||
<a href="" ng-click="sortType = 'semester'; sortReverse = !sortReverse">
|
||||
Semestre
|
||||
<span ng-show="sortType == 'Semestre' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'Semestre' && sortReverse" class="fa fa-caret-up"></span>
|
||||
<span ng-show="sortType == 'semester' && !sortReverse" class="fa fa-caret-down"></span>
|
||||
<span ng-show="sortType == 'semester' && sortReverse" class="fa fa-caret-up"></span>
|
||||
</a>
|
||||
</th>
|
||||
<th width="10%" style="text-align: center">
|
||||
@@ -45,10 +45,10 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="matricula in vm.listaMatricula | orderBy:sortType:sortReverse | filter:searchUser">
|
||||
<td style="vertical-align:middle">{{ matricula.Nombre }}</td>
|
||||
<td style="vertical-align:middle">{{ matricula.Materia }}</td>
|
||||
<td style="vertical-align:middle">{{ matricula.Codigo }}</td>
|
||||
<td style="vertical-align:middle">{{ matricula.Semestre }}</td>
|
||||
<td style="vertical-align:middle">{{ matricula.section }}</td>
|
||||
<td style="vertical-align:middle">{{ matricula.course }}</td>
|
||||
<td style="vertical-align:middle">{{ matricula.code }}</td>
|
||||
<td style="vertical-align:middle">{{ matricula.semester }}</td>
|
||||
<td style="text-align: center">
|
||||
<span title="Click aqui para Modificar la Matricula"
|
||||
class="glyphicon glyphicon-edit" aria-hidden="true"
|
||||
|
Reference in New Issue
Block a user