mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
fix(about): Use media.ccc.de URL instead of relive, if relive is disabled
The page didn't render before b/c h(NULL) was called as getReliveUrl returns NULL if relive is disabled.
This commit is contained in:
parent
974d2f2aaa
commit
630649bf70
1 changed files with 8 additions and 3 deletions
|
@ -6,9 +6,14 @@
|
|||
<?=$conference->get('html.about')?>
|
||||
|
||||
<? else: ?>
|
||||
<p>
|
||||
<a href="<?=h($conference->getReliveUrl())?>">ReLive</a> is the platform for recordings of events like this. It is operated by the Chaos Computer Club Video Operation Center.
|
||||
</p>
|
||||
<p>
|
||||
<? if ($conference->hasRelive()): ?>
|
||||
<a href="<?=h($conference->getReliveUrl())?>">ReLive</a>
|
||||
<? else: ?>
|
||||
<a href="<?=h($conference->getReleasesUrl())?>">media.ccc.de</a>
|
||||
<? endif; ?>
|
||||
is the platform for recordings of events like this. It is operated by the Chaos Computer Club Video Operation Center.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Lecture recording and streaming at <strong><?=h($conference->getTitle())?></strong> is organized and performed by the <a href="https://c3voc.de">Chaos Computer Club Video Operation Center</a>.
|
||||
|
|
Loading…
Reference in a new issue