Show release information, if present.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 28 Jul 2012 10:45:53 +0000 (12:45 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 28 Jul 2012 10:45:53 +0000 (12:45 +0200)
src/main/resources/templates/track

index 6d96585..b86bbca 100644 (file)
        <%/if>
 </h1>
 
+<%ifnull !track.properties.release/name>
+       <%ifnull !track.properties.release/pouet/id>
+               <div>Release: <a href="http://pouet.net/prod.php?which=<%track.properties.release/pouet/id|html>"><%track.properties.release/name|html></a></div>
+       <%else>
+               <div>Release: <%track.properties.release/name|html></div>
+       <%/if>
+<%/if>
+
 <dl>
 
 <dt>Styles</dt>