aboutsummaryrefslogtreecommitdiff
path: root/template/multiview.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-12-28 11:26:17 +0100
committerMaZderMind2015-12-28 11:26:17 +0100
commit6be05f60903348f4690249052c98a15ca10ab3ed (patch)
treef9406ce6840874122b60d3e92c4c44d2f1c41cc9 /template/multiview.phtml
parent327cbb3cae07b2463f3bc466db4814dee368928e (diff)
add audio-only multiview
Diffstat (limited to 'template/multiview.phtml')
-rw-r--r--template/multiview.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/multiview.phtml b/template/multiview.phtml
index e07446b..4f8597f 100644
--- a/template/multiview.phtml
+++ b/template/multiview.phtml
@@ -7,7 +7,8 @@
<div class="row room-group">
<? foreach($rooms as $room): ?>
- <? foreach($room->getStreams() as $stream): ?>
+ <? foreach($room->getStreams() as $stream): ?>
+ <? if($selection && $stream->getSelection() != $selection) continue ?>
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
<div class="cell">
<h2><?=h($stream->getDisplay())?></h2>