mirror of https://github.com/krateng/maloja.git
Removed top weeks indicator when it would be 0
This commit is contained in:
parent
1563a15abd
commit
7693ba3a20
|
@ -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.
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue