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
aecf4b5
..
d0e8bc1
100644
(file)
--- a/
src/main/resources/templates/track
+++ b/
src/main/resources/templates/track
@@
-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>