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.
20 lines
691 B
20 lines
691 B
extends ../layouts/main
|
|
block content
|
|
|
|
include ../../venue/components/channel-list-item
|
|
|
|
h1 Manage Your DTP Venue
|
|
|
|
-
|
|
var onlineChannels = channels.filter((channel) => channel.lastUpdate && (channel.lastUpdate.status === 'live'))
|
|
var offlineChannels = channels.filter((channel) => !channel.lastUpdate || (channel.lastUpdate.status !== 'live'))
|
|
|
|
if Array.isArray(offlineChannels) && (channels.length > 0)
|
|
uk.uk-list.uk-list-divider
|
|
each channel of offlineChannels
|
|
li
|
|
+renderVenueChannelListItem(channel, { baseUrl: '/admin/venue/channel' })
|
|
else
|
|
div There are no channels integrated with #{site.name}.
|
|
|
|
pre= JSON.stringify(channels, null, 2) |