diff options
author | MaZderMind | 2015-07-13 14:22:21 +0200 |
---|---|---|
committer | MaZderMind | 2015-07-13 14:22:21 +0200 |
commit | 5c70ea810b1821505a038ca30fe70d3eaf459e79 (patch) | |
tree | cc354d7d24cea4b5c522d2ddffd185a0650dc687 /template | |
parent | a3becf276c03ed21e7a3a5a18b8698a90dbe6fa3 (diff) |
Move released-box to the top and color it green
Diffstat (limited to '')
-rw-r--r-- | template/relive-player.phtml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/template/relive-player.phtml b/template/relive-player.phtml index 9018ccc..467b34a 100644 --- a/template/relive-player.phtml +++ b/template/relive-player.phtml @@ -5,6 +5,17 @@ </div> </div> + <? if($talk['status'] == 'released'): ?> + <div class="row"> + <div class="col-xs-12 col-md-8 col-md-offset-2"> + <div class="alert alert-success"> + <h3>Released</h3> + <p>This talk is already released! Take a look at <a href="<?=h($talk['release_url'])?>">media.ccc.de</a>.</p> + </div> + </div> + </div> + <? endif ?> + <div class="row"> <div class="col-xs-12"> <div class="player-wrap"> @@ -23,10 +34,6 @@ If you still want to watch with a desktop player, use this URL: <a href="<?=h($talk['playlist'])?>"><?=h($talk['playlist'])?></a> </p> </div> - <? if($talk['status'] == 'released'): ?> - <h3>Released</h3> - <p>This talk is already released! Take a look at <a href="<?=h($talk['release_url'])?>">media.ccc.de</a>.</p> - <? endif ?> </div> </div> </div> |