mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Don't render tiles on artist track chart pages
This commit is contained in:
parent
852795cecd
commit
8ad625ef72
@ -29,16 +29,16 @@ def instructions(keys):
|
||||
if filterkeys.get("artist") is not None:
|
||||
imgurl = getArtistImage(filterkeys.get("artist"))
|
||||
limitstring = "by " + artistLink(filterkeys.get("artist"))
|
||||
elif rep is not None:
|
||||
imgurl = getTrackImage(rep["artists"],rep["title"])
|
||||
else:
|
||||
imgurl = ""
|
||||
|
||||
toptracks = ""
|
||||
imgdiv = '<div style="background-image:url('+imgurl+')"></div>'
|
||||
elif rep is not None:
|
||||
imgurl = getTrackImage(rep["artists"],rep["title"])
|
||||
if get_settings("CHARTS_DISPLAY_TILES"):
|
||||
toptracks = module_trackcharts_tiles(timerange=timekeys["timerange"])
|
||||
imgdiv = """<div style="background-image:url('favicon.png')"></div>"""
|
||||
else:
|
||||
imgurl = ""
|
||||
|
||||
|
||||
|
||||
limitstring += " " + timekeys["timerange"].desc(prefix=True)
|
||||
|
Loading…
Reference in New Issue
Block a user