projects
/
demoscenemusic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If there’s no codec, use the extension.
[demoscenemusic.git]
/
src
/
main
/
resources
/
templates
/
track
diff --git
a/src/main/resources/templates/track
b/src/main/resources/templates/track
index
4b1519f
..
d0e8bc1
100644
(file)
--- a/
src/main/resources/templates/track
+++ b/
src/main/resources/templates/track
@@
-9,10
+9,10
@@
by
<%foreach track.artists artist>
<%notfirst>&<%/notfirst>
by
<%foreach track.artists artist>
<%notfirst>&<%/notfirst>
- <
a href="artist?id=<% artist.id|html>"><% artist.name|html></a
>
+ <
%include include/artist
>
<%/foreach>
<%ifnull !track.remix>
<%/foreach>
<%ifnull !track.remix>
- (<% track.remix|html>
by <%foreach track.remixArtists artist><%notfirst> & <%/notfirst><a href="artist?id=<% artist.id|html>"><% artist.name|html></a
><%/foreach>)
+ (<% track.remix|html>
<%foreach track.remixArtists artist><%first> by <%/first><%notfirst> & <%/notfirst><%include include/artist
><%/foreach>)
<%/if>
</h1>
<%/if>
</h1>
@@
-30,7
+30,7
@@
<%foreach track.derivatives derivative>
<%foreach track.derivatives derivative>
- <h2><a href="download?id=<%derivative.id|html>"><%
derivative.properties.audio/codec.shortName|html
></a></h2>
+ <h2><a href="download?id=<%derivative.id|html>"><%
ifnull derivative.properties.audio/codec><%derivative.properties.file/extension.toUpperCase><%else><%derivative.properties.audio/codec.shortName|html><%/if
></a></h2>
<div class="size"><%derivative.size|concise|html>B</div>
<div class="size"><%derivative.size|concise|html>B</div>