We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea7346 commit 54e7636Copy full SHA for 54e7636
beetsplug/web/templates/index.html
@@ -39,7 +39,11 @@ <h1>beets</h1>
39
<div id="extra-detail"></div>
40
<!-- Templates. -->
41
<script type="text/template" id="item-entry-template">
42
- <%= artist %> – <%= album %> – <%= title %>
+ <% if (artist) { %><%= artist %><% } %>
43
+ <% if (artist && album) { %> – <% } %>
44
+ <% if (album) { %><%= album %><% } %>
45
+ <% if ((artist || album) && title) { %> – <% } %>
46
+ <%= title %>
47
<span class="playing">▶</span>
48
</script>
49
<script type="text/template" id="item-main-detail-template">
0 commit comments