Add include to render a complete artist.
[demoscenemusic.git] / src / main / resources / templates / track
index e92c9e4..aecf4b5 100644 (file)
@@ -9,13 +9,17 @@
        by
        <%foreach track.artists artist>
                <%notfirst>&amp;<%/notfirst>
-               <a href="artist?id=<% artist.id|html>"><% artist.name|html></a>
+               <%include include/artist>
        <%/foreach>
        <%ifnull !track.remix>
-       (<% track.remix|html> by <%foreach track.remixArtists artist><%notfirst> &amp; <%/notfirst><a href="artist?id=<% artist.id|html>"><% artist.name|html></a><%/foreach>)
+       (<% track.remix|html><%foreach track.remixArtists artist><%first> by <%/first><%notfirst> &amp; <%/notfirst><%include include/artist><%/foreach>)
        <%/if>
 </h1>
 
+<%foreach track.parties party>
+       <div>Released at <a href="party?id=<%party.id|html>"><%party.name|html></a>.</div>
+<%/foreach>
+
 <%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>