From: David ‘Bombe’ Roden Date: Tue, 31 Jul 2012 05:28:32 +0000 (+0200) Subject: Use include to display artist. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5c3d80c8cd9582a4f6f083f4b7eb50fd917c548d;p=demoscenemusic.git Use include to display artist. --- diff --git a/src/main/resources/templates/admin.edit-group b/src/main/resources/templates/admin.edit-group index af2d604..545526d 100644 --- a/src/main/resources/templates/admin.edit-group +++ b/src/main/resources/templates/admin.edit-group @@ -34,7 +34,7 @@ <%first> <%/last> diff --git a/src/main/resources/templates/admin.edit-track b/src/main/resources/templates/admin.edit-track index bfc3355..f9ee353 100644 --- a/src/main/resources/templates/admin.edit-track +++ b/src/main/resources/templates/admin.edit-track @@ -41,7 +41,7 @@ <%foreach track.artists artist> -
Artist: <%artist.name|html>
+
Artist: <%include include/admin.artist>
diff --git a/src/main/resources/templates/admin.list-artists b/src/main/resources/templates/admin.list-artists index a418166..6602e94 100644 --- a/src/main/resources/templates/admin.list-artists +++ b/src/main/resources/templates/admin.list-artists @@ -4,7 +4,7 @@ <%foreach artists artist> <%first><%/last> <%/foreach> diff --git a/src/main/resources/templates/include/admin.artist b/src/main/resources/templates/include/admin.artist new file mode 100644 index 0000000..65ed1eb --- /dev/null +++ b/src/main/resources/templates/include/admin.artist @@ -0,0 +1 @@ +<% artist.name|html><%foreach artist.groups group|sort><%first> / <%/first><%notfirst> ^ <%/notfirst><%group.name|html><%/foreach> \ No newline at end of file