jobrouter.html 1.03 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<center>
  <ul class='timeline' ng-if='obj.length > 0'>
    <li ng-repeat='router in obj'>
      <div class='timeline-point' ng-class='checkPointer(router.step)' ng-click='openExam(router)'>
        <i class='icon-circle' ng-class='checkState(router)'></i>
      </div>
      <div class='timeline-body'>
        <div class='router-header'>{{ $index+1 }}. <swaplang2 code='{{ router.swlangcode }}'></swaplang2></div>
        <div class='router-body' ng-if='router.step === 2'>Examination name: {{ swlang.getString(router.examdata.topic) }}</div>
        <div class='router-content' ng-if='router.step === 2'>
          <span ng-if='router.flow === 1 && router.status === 0'>Applicant can test now</span>
          <span ng-if='router.flow === 2 && router.status === 0'>Applicant must passing {{ swlang.getString(examlist[$index-1].examdata.topic) }}</span>
          <span ng-if='router.flow === 3 && (router.status === 0 || router.status === -10) '>Applicant must wait for approve by HR</span>
        </div>
      </div>
    </li>
  </ul>
</center>