Fix broken section view

This commit is contained in:
Reynaldo Reyes
2016-03-02 20:25:52 -04:30
parent 90d22e3405
commit 4b3ce9f406
2 changed files with 24 additions and 24 deletions

View File

@@ -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"