From 8ad625ef72f099c8b5703e587ad8e3e946de6b31 Mon Sep 17 00:00:00 2001 From: Zack Boehm Date: Wed, 11 Sep 2019 20:42:13 -0400 Subject: [PATCH] Don't render tiles on artist track chart pages --- website/charts_tracks.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/charts_tracks.py b/website/charts_tracks.py index db9c6c2..fe96ba2 100644 --- a/website/charts_tracks.py +++ b/website/charts_tracks.py @@ -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")) + toptracks = "" + imgdiv = '
' 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 = """
""" else: imgurl = "" - toptracks = "" - imgdiv = '
' - if get_settings("CHARTS_DISPLAY_TILES"): - toptracks = module_trackcharts_tiles(timerange=timekeys["timerange"]) - imgdiv = """
""" limitstring += " " + timekeys["timerange"].desc(prefix=True)