From 1786a6988f6fbc589457dbdae1a2f8463688d819 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 31 Jul 2012 21:07:49 +0200 Subject: [PATCH] Add include for groups (non-admin mode). --- src/main/resources/templates/include/artist | 2 +- src/main/resources/templates/include/group | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/templates/include/group diff --git a/src/main/resources/templates/include/artist b/src/main/resources/templates/include/artist index ecf2290..4e2368b 100644 --- a/src/main/resources/templates/include/artist +++ b/src/main/resources/templates/include/artist @@ -1 +1 @@ -<% artist.name|html><%foreach artist.groups group|sort><%first> / <%/first><%notfirst> ^ <%/notfirst><%group.name|html><%/foreach> \ No newline at end of file +<% artist.name|html><%foreach artist.groups group|sort><%first> / <%/first><%notfirst> ^ <%/notfirst><%include include/group><%/foreach> \ No newline at end of file diff --git a/src/main/resources/templates/include/group b/src/main/resources/templates/include/group new file mode 100644 index 0000000..3f7de13 --- /dev/null +++ b/src/main/resources/templates/include/group @@ -0,0 +1 @@ +<%ifnull group.shortName><%group.name|html><%else><%group.shortName|html><%/if> \ No newline at end of file -- 2.7.4