most-proposal-list-item.pug 973 Bytes
Newer Older
Sang D NGO's avatar
Sang D NGO committed
1
.row.clickable(ui-sref="most.proposal.detail({proposalId: $ctrl.proposal.id})")
Sang D NGO's avatar
Sang D NGO committed
2
  .col-xs-6
Sang D NGO's avatar
Sang D NGO committed
3 4
    h5.ellipsis(
      title="{{::$ctrl.proposal.formJson.title}}"
Tuan Tuan LE's avatar
Tuan Tuan LE committed
5
    ) {{::$ctrl.proposal.formJson.title}}
Sang D NGO's avatar
Sang D NGO committed
6 7 8 9 10 11 12
  .col-xs-1
    span.ellipsis(title="{{::$ctrl.proposal.type}}") {{::$ctrl.proposal.type}}
  .col-xs-3
    span(title=__('Cập nhật lúc %s', '{{::$ctrl.proposal.updatedAt}}'), am-time-ago="::$ctrl.proposal.updatedAt")
  .col-xs-2
    div(ng-switch="$ctrl.proposal.status")
      span.text-muted(ng-switch-when="PENDING") Đang chờ
Sang D NGO's avatar
Sang D NGO committed
13 14
      span.c-orange(ng-switch-when="REVIEWING") Đang xử lý
      span.c-green(ng-switch-when="ACCEPTED") Đã thông qua
Sang D NGO's avatar
Sang D NGO committed
15 16 17 18 19 20
      span.c-red(ng-switch-when="REJECTED") Đã từ chối
.lv-actions.actions
  a(href="", data-toggle="dropdown", aria-expanded="false")
    i.mdi.mdi-dots-vertical
  ul.dropdown-menu.dropdown-menu-right
    li
21
      a(href="", ui-sref="most.proposal.detail({proposalId: $ctrl.proposal.id})") #{__('Xem')}