Add page that lists all releases of a party.
[demoscenemusic.git] / src / main / resources / templates / party
1 <%ifnull party>
2 <%include include/header title=="Unknown Party">
3 <p>Unknown party ID.</p>
4 <%else>
5 <%include include/header title=party.name>
6
7 <h1><%party.name|html></h1>
8
9 <!-- TODO: show properties -->
10
11 <h2>Relasese</h2>
12
13 <%foreach party.releases track|sort>
14 <%first><ul><%/first>
15 <li><a href="track?id=<%track.id|html>"><%track.name|html></a> by <%foreach track.artists artist><%first> by <%/first><%notfirst> &amp; <%/notfirst><%include include/artist><%/foreach></li>
16 <%last></ul><%/last>
17 <%foreachelse>
18 <p>This party does not have any releases.</p>
19 <%/foreach>
20
21 <%/if>
22
23 <%include include/footer>