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.
28 lines
737 B
28 lines
737 B
extends ../layouts/main
|
|
block content
|
|
|
|
.uk-overflow-auto
|
|
table.uk-table.uk-table-small.uk-table-divider
|
|
thead
|
|
th Channel
|
|
th Owner
|
|
th Category
|
|
th Status
|
|
th Created
|
|
tbody
|
|
each channel in channels
|
|
tr
|
|
td
|
|
a(href=`/admin/channel/${channel._id}`)= channel.name
|
|
|
|
td
|
|
a(href=`/admin/user/${channel.owner._id}`)= channel.owner.username
|
|
|
|
td= channel.category.name
|
|
|
|
td(class={
|
|
'uk-text-success': (channel.status === 'live'),
|
|
'uk-text-default': (channel.status === 'offline'),
|
|
})= channel.status
|
|
|
|
td= moment(channel.created).format('MMM DD, YYYY')
|