From 28f3fdb639e5e6da61c47a6f87e1e559b8521059 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 29 Jul 2012 00:16:30 +0200 Subject: [PATCH] List derivatives on track page. --- src/main/resources/templates/track | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/main/resources/templates/track b/src/main/resources/templates/track index b86bbca..7ff622b 100644 --- a/src/main/resources/templates/track +++ b/src/main/resources/templates/track @@ -24,6 +24,26 @@ <%/if> <%/if> +<%foreach track.derivatives derivative> + +

<%ifnull !derivative.properties.file/original-name><%derivative.properties.file/original-name|html><%else>Unnamed File<%/if>

+ + <%ifnull !derivative.properties.audio/codec> +
<%derivative.properties.audio/codec.name|html>
+ <%/if> + + <%ifnull !derivative.properties.media/bitrate> +
<%derivative.properties.media/bitrate|html> kbps
+ <%/if> + + <%ifnull !derivative.properties.media/length> +
<%derivative.properties.media/length|time>
+ <%/if> + +<%foreachelse> +

This track does not have any files.

+<%/foreach> +
Styles
-- 2.7.4