Sha256: 45aafbbc6c4e0b2dce6e6e26e4529df68720da7907b2fc2163a831aedb15cccd

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

<script type="text/ng-template" id="applicants_index.html">
  <h2>{{state | uppercase}}</h2>
  <p>
    Total Applicants: <span>{{total}}</span>
    <span ng-show="state == 'reviewable'">Stale Applicants: {{stale_count}}</span>
  </p>
  <table class="table table-striped table-bordered table-hover table-condensed">
    <thead>
      <tr>
        <th>#</th>
        <th>Email</th>
        <th>Notes</th>
        <th>Transitions</th>
        <th>Video</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="applicant in applicants" ng-class="{warning: applicant.stale == 'stale', error: applicant.stale == 'very-stale'}">
        <td>{{applicant.id}}</td>
        <td>{{applicant.email}}</td>
        <td>{{applicant.notes}}</td>
        <td>
          <div ng-show='applicant.reviewable_at' class='label label-inverse'>Reviewable: {{applicant.reviewable_at}}</div>
          <div ng-show='applicant.problem_at' class='label label-warning'>Problem: {{applicant.problem_at}}</div>
          <div ng-show='applicant.rejected_at' class='label label-important'>Rejected: {{applicant.rejected_at}}</div>
          <div ng-show='applicant.approved_at' class='label label-success'>Approved: {{applicant.approved_at}}</div>
        </td>
        <td>
          <a ng-show="applicant.video_url" href="#reviews/{{applicant.id}}" class='btn btn-success'><i class='icon icon-facetime-video'></i></a>
        </td>
      </tr>
    </tbody>
    <tfoot>
      <tr>
        <td colspan='5'>
          <a href='#' class='btn btn-primary' ng-click="more($event)">Load More</a>
        </td>
      </tr>
    </tfoot>
  </table>
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 app/views/applicants/spike/js_templates/applicants/_index.html