You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
889 B
26 lines
889 B
extends ../layouts/main
|
|
block content
|
|
|
|
table.uk-table
|
|
thead
|
|
th Channel Name
|
|
th Domain
|
|
th Created
|
|
th Member
|
|
th Audience
|
|
th Status
|
|
tbody
|
|
each application in applications
|
|
tr
|
|
td
|
|
a(href=`/admin/channel-application/${application._id}`)= application.name
|
|
td= application.domain ? application.domain.name : 'N/A'
|
|
td= moment(application.created).fromNow()
|
|
td
|
|
a(href=`/admin/member/${application.owner._id}`)= application.owner.username
|
|
td= numeral(application.interview.audienceSize).format('0,0')
|
|
td(class={
|
|
'uk-text-primary': ['new','review'].includes(application.status),
|
|
'uk-text-success': (application.status === 'approved'),
|
|
'uk-text-danger': (application.status === 'rejected'),
|
|
})= application.status
|