mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed wrong tooltip and link for track medals
This commit is contained in:
parent
20908dfbaa
commit
75ef7a4b0c
@ -40,9 +40,9 @@
|
||||
<p class="stats"><pyhp if="adminmode"><span onclick="scrobble('{encodedtrack}','{apikey}')" class="button">Scrobble now</span> </pyhp><a href="/scrobbles?{encodedtrack}"><pyhp echo="info['scrobbles']" /> Scrobbles</a></p>
|
||||
|
||||
|
||||
<pyhp for="year" in="info['medals']['gold']"><a title="Best Artist in {year}" class="hidelink medal shiny gold" href='/charts_artists?max=50&in={str(year)}'><span><pyhp echo="year" /></span></a></pyhp>
|
||||
<pyhp for="year" in="info['medals']['silver']"><a title="Second best Artist in {year}" class="hidelink medal shiny silver" href='/charts_artists?max=50&in={str(year)}'><span><pyhp echo="year" /></span></a></pyhp>
|
||||
<pyhp for="year" in="info['medals']['bronze']"><a title="Third best Artist in {year}" class="hidelink medal shiny bronze" href='/charts_artists?max=50&in={str(year)}'><span><pyhp echo="year" /></span></a></pyhp>
|
||||
<pyhp for="year" in="info['medals']['gold']"><a title="Best Track in {year}" class="hidelink medal shiny gold" href='/charts_tracks?max=50&in={str(year)}'><span><pyhp echo="year" /></span></a></pyhp>
|
||||
<pyhp for="year" in="info['medals']['silver']"><a title="Second best Track in {year}" class="hidelink medal shiny silver" href='/charts_tracks?max=50&in={str(year)}'><span><pyhp echo="year" /></span></a></pyhp>
|
||||
<pyhp for="year" in="info['medals']['bronze']"><a title="Third best Track in {year}" class="hidelink medal shiny bronze" href='/charts_tracks?max=50&in={str(year)}'><span><pyhp echo="year" /></span></a></pyhp>
|
||||
|
||||
<span><pyhp if="info.get('topweeks') not in [0,None]">
|
||||
<a title="{str(info['topweeks'])} weeks on #1" href="/performance?{encodedtrack}">
|
||||
|
Loading…
Reference in New Issue
Block a user