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/slides.phtml | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
(limited to 'template/assemblies/switcher/slides.phtml')
diff --git a/template/assemblies/switcher/slides.phtml b/template/assemblies/switcher/slides.phtml
index dfbc26d..ba70c5f 100644
--- a/template/assemblies/switcher/slides.phtml
+++ b/template/assemblies/switcher/slides.phtml
@@ -10,12 +10,14 @@
- native
-
-
-
- translated
+ Native
+ foreach($room->getTranslations() as $translation): ?>
+
+
+ =h(ucfirst($translation['label']))?>
+
+ endforeach ?>
--
cgit v1.2.3