aboutsummaryrefslogtreecommitdiff
path: root/template/overview.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-03-15 19:13:25 +0100
committerMaZderMind2015-03-29 21:42:01 +0200
commitea4b6c7699a7fbb7be3d9e5ce86c84a36b63f569 (patch)
treec919029a8b12e43c363b898a1ff9f7adf5c3312b /template/overview.phtml
parent97fe6bf0af2989abbaaba138df3c54c4e55af3c9 (diff)
Move get/set-Calls into ModelBase and abstract all access into a Model
Conflicts: model/Overview.php model/Room.php model/StreamList.php tests/ModelTestbase.php
Diffstat (limited to '')
-rw-r--r--template/overview.phtml12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/overview.phtml b/template/overview.phtml
index f0eb2d2..8e26423 100644
--- a/template/overview.phtml
+++ b/template/overview.phtml
@@ -89,9 +89,9 @@
</div>
<? endforeach ?>
- <? if($overview->hasReleases() || $overview->hasRelive()): ?>
+ <? if($conference->hasReleases() || $conference->hasRelive()): ?>
<?
- $class = ($overview->hasReleases() && $overview->hasRelive()) ?
+ $class = ($conference->hasReleases() && $conference->hasRelive()) ?
// both enabled
'col-sm-6 col-xs-12' :
@@ -104,11 +104,11 @@
<h2>Recordings</h2>
</div>
- <? if($overview->hasReleases()): ?>
+ <? if($conference->hasReleases()): ?>
<div class="<?=h($class)?>">
<div class="panel panel-primary">
<div class="panel-body">
- <a href="<?=h($overview->getReleasesUrl())?>">
+ <a href="<?=h($conference->getReleasesUrl())?>">
<span class="fa fa-video-camera"></span> Releases
</a>
</div>
@@ -116,11 +116,11 @@
</div>
<? endif ?>
- <? if($overview->hasRelive()): ?>
+ <? if($conference->hasRelive()): ?>
<div class="<?=h($class)?>">
<div class="panel panel-primary">
<div class="panel-body">
- <a href="<?=h($overview->getReliveUrl())?>">
+ <a href="<?=h($conference->getReliveUrl())?>">
<span class="fa fa-play-circle"></span> ReLive
</a>
</div>