From be515f5150f20c773371f680efad58f2d0fcaaf0 Mon Sep 17 00:00:00 2001
From: Benjamin Peter
Date: Sat, 9 Dec 2017 23:44:47 +0100
Subject: Added multple translation tracks with configurable endpoints and
labels
---
template/assemblies/switcher/audio.phtml | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
(limited to 'template/assemblies/switcher/audio.phtml')
diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml
index 182572e..eab77fb 100644
--- a/template/assemblies/switcher/audio.phtml
+++ b/template/assemblies/switcher/audio.phtml
@@ -10,12 +10,14 @@
- native
+ Native
-
+ foreach($room->getTranslations() as $translation): ?>
+
- translated
+ =h(ucfirst($translation['label']))?>
+ endforeach ?>
@@ -39,12 +41,14 @@
- native
-
-
-
- translated
+ Native
+ foreach($room->getTranslations() as $translation): ?>
+
+
+ =h(ucfirst($translation['label']))?>
+
+ endforeach ?>
else: ?>
--
cgit v1.2.3