瀏覽代碼

Add better titles to artists too

Colin Powell 2 年之前
父節點
當前提交
411d2b42b0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vrobbler/templates/scrobbles/scrobble_list.html

+ 1 - 1
vrobbler/templates/scrobbles/scrobble_list.html

@@ -91,7 +91,7 @@
                     <button class="nav-link {% if forloop.first %}active{% endif %}"
                             id="artist-{{chart_name}}-tab" data-bs-toggle="tab" data-bs-target="#artist-{{chart_name}}"
                             type="button" role="tab" aria-controls="home" aria-selected="true">
-                        {{chart_name}}
+                        {% if chart_name == "all" %}All Time{% else %}{% if chart_name != "today" %}This {% endif %}{{chart_name|capfirst}}{% endif %}
                     </button>
                 </li>
                 {% endfor %}