Se reviso acciones de cargo convocatoria, actualizando icono de reserva

parent 1abb716d
......@@ -101,11 +101,15 @@
ng-click="vm.eliminar(postulacion)" uib-tooltip="Eliminar postulación" tooltip-placement="bottom">
<i class="fa fa-trash fa-lg"></i>
</a>
<a class="btn btn-gray-dark-outline btn-xs" role="button" uib-tooltip="Reserva"
tooltip-placement="bottom-left"
<a class="btn btn-secondary-outline btn-xs" role="button" ng-hide="postulacion.Reservas.length == 1 || reservado"
uib-tooltip="Reservar..?" tooltip-placement="top"
ng-click="vm.aReserva(postulacion._id, vm.cargoConvocatoriaId); reservado = true;">
<i class="fa fa-lg "
ng-class="{'fa-check-circle-o':postulacion.Reservas.length > 0 || reservado == true, 'fa-circle-thin':postulacion.Reservas.length < 1}"></i>
<i class="fa fa-lg fa-square-o" ></i>
</a>
<a class="btn btn-primary-outline btn-xs" role="button" uib-tooltip="Esta reservado" tooltip-placement="top"
ng-show="reservado || postulacion.Reservas.length == 1"
ng-click="vm.aReserva(postulacion._id, vm.cargoConvocatoriaId); reservado = true;">
<i class="fa fa-lg fa-check-square-o"></i>
</a>
</div>
</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 to comment