Removed top weeks indicator when it would be 0

This commit is contained in:
Krateng 2020-08-22 05:28:17 +02:00
parent 1563a15abd
commit 7693ba3a20
3 changed files with 3 additions and 2 deletions

View File

@ -10,3 +10,4 @@ countas BEJ48 SNH48
countas Li Yitong SNH48
countas Dai Meng SNH48
countas Mo Han SNH48
countas Su Shanshan SNH48

Can't render this file because it has a wrong number of fields in line 4.

View File

@ -33,7 +33,7 @@
<!-- TOPWEEKS -->
<span>
{% if info.topweeks is not none %}
{% if info.topweeks > 0 %}
<a title="{{ info.topweeks }} weeks on #1" href="/performance?{{ encodedartist }}&step=week">
<img class="star" src="/media/star.png" />{{ info.topweeks }}
</a>

View File

@ -32,7 +32,7 @@
<!-- TOPWEEKS -->
<span>
{% if info.topweeks is not none %}
{% if info.topweeks > 0 %}
<a title="{{ info.topweeks }} weeks on #1" href="/performance?{{ encodedtrack }}&step=week">
<img class="star" src="/media/star.png" />{{ info.topweeks }}
</a>