mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
link released relive-streams to media
This commit is contained in:
parent
574feed16e
commit
249a86a414
4 changed files with 14 additions and 2 deletions
|
@ -5696,6 +5696,8 @@ a.inverted {
|
|||
clear: both;
|
||||
height: 120px;
|
||||
color: black; }
|
||||
.event-previews .event-preview.released {
|
||||
background-color: #96d600; }
|
||||
.event-previews .event-preview.live {
|
||||
background-color: #d87500; }
|
||||
.event-previews .event-preview.live .metadata li, .event-previews .event-preview.live h3 {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -571,6 +571,10 @@ a.inverted {
|
|||
height: 120px;
|
||||
color: black;
|
||||
|
||||
&.released {
|
||||
background-color: #96d600;
|
||||
}
|
||||
|
||||
&.live {
|
||||
background-color: $brand-primary;
|
||||
.metadata li, h3 {
|
||||
|
|
|
@ -5,7 +5,13 @@
|
|||
<div class="event-previews relive">
|
||||
|
||||
<? foreach ($talks as $talk): ?>
|
||||
<a class="event-preview <?=h($talk['status'])?>" href="<?=h(link_vod($talk['id']))?>">
|
||||
<a class="event-preview <?=h($talk['status'])?>"
|
||||
<? if($talk['status'] == 'released'): ?>
|
||||
href="<?=h($talk['release_url'])?>"
|
||||
<? else: ?>
|
||||
href="<?=h(link_vod($talk['id']))?>"
|
||||
<? endif ?>
|
||||
>
|
||||
<img alt="<?=h($talk['title'])?>" class="video-thumbnail" src="http://vod.c3voc.de/relive/<?=h($talk['thumbnail'])?>">
|
||||
<div class="caption">
|
||||
<ul class="metadata">
|
||||
|
|
Loading…
Reference in a new issue