diff --git a/app/js/section/section.controllers.js b/app/js/section/section.controllers.js
index fd5714f..9f3790b 100644
--- a/app/js/section/section.controllers.js
+++ b/app/js/section/section.controllers.js
@@ -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: {
diff --git a/app/partials/section/list_section.html b/app/partials/section/list_section.html
index 88a12ae..ad04562 100644
--- a/app/partials/section/list_section.html
+++ b/app/partials/section/list_section.html
@@ -5,33 +5,33 @@
-
Sección
-
-
+
+
+ ng-click="sortType = 'course'; sortReverse = !sortReverse">
Nombre de la Materia
-
-
+
+
-
+
Codigo de la Materia
-
-
+
+
-
+
Semestre
-
-
+
+
@@ -45,10 +45,10 @@