From fcc734a744409e307d334a1f8f4bfcfc0a319cb1 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 08 Apr 2021 19:41:43 +0000
Subject: [PATCH] Titel auf Abspielliste, Abspielliste anzeigen, Eintrag auswaehlen

---
 www/ui/data/tpl/titel_liste.tpl |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/www/ui/data/tpl/titel_liste.tpl b/www/ui/data/tpl/titel_liste.tpl
index 5d32852..d05e0cb 100644
--- a/www/ui/data/tpl/titel_liste.tpl
+++ b/www/ui/data/tpl/titel_liste.tpl
@@ -1,12 +1,18 @@
+
+<!--
+{"Abspielliste": {"name":"spontan","titel":[{"katalogUrl":"/media/mc","name":"/A/ACDC/Highway-To-Hell02-Girls-got-rhythm.mp3"},{"katalogUrl":"/media/mc","name":"/A/ACDC/Highway-To-Hell07-Get-it-hot.mp3"},{"katalogUrl":"/media/mc","name":"/A/Aerosmith/Big-Ones12-Crazy.mp3"}]}}
+-->
+
+{{#Abspielliste}}
 <div class='entity-formular'>
   <div class='entity-liste-kopf'>
     Abspielliste {{name}}     
     <!-- <button class='ctrl-btn' id='neu-btn' title='Neu'><i class='icon-doc'></i></button> -->
   </div>
   <ul class='entity-liste'>
-    {{#ArrayList}}
-    <li class='entity-eintrag'>{{.}}</li>
-    {{/ArrayList}}
+    {{#titel}}
+    <li class='entity-eintrag'>{{katalogUrl}}{{name}}</li>
+    {{/titel}}
   </ul>
 </div>
-
+{{/Abspielliste}}

--
Gitblit v1.9.3