From e4139369fe48bf187972494f4d905cfc02d50c91 Mon Sep 17 00:00:00 2001 From: Krateng Date: Fri, 4 Sep 2020 12:18:34 +0200 Subject: [PATCH] Various small issues --- maloja/malojauri.py | 9 +-------- maloja/web/jinja/snippets/links.jinja | 2 +- maloja/web/jinja/track.jinja | 4 ++-- maloja/web/static/less/maloja.less | 2 +- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/maloja/malojauri.py b/maloja/malojauri.py index ebf1243..a35e198 100644 --- a/maloja/malojauri.py +++ b/maloja/malojauri.py @@ -150,11 +150,4 @@ def remove_identical(*dicts): v = d.get(k) keys.append(k,v) - new = FormsDict() - for k in keys: - #values = set(keys.getall(k)) - values = keys.getall(k) # NO IDENTICAL REMOVAL FOR NOW - for v in values: - new.append(k,v) - - return new + return keys diff --git a/maloja/web/jinja/snippets/links.jinja b/maloja/web/jinja/snippets/links.jinja index 2b6f459..2c27750 100644 --- a/maloja/web/jinja/snippets/links.jinja +++ b/maloja/web/jinja/snippets/links.jinja @@ -42,7 +42,7 @@ {% macro link_rank(filterkeys,timerange,rank=None,percent=None) %} {% if 'track' in filterkeys %} - {% set url = mlj_uri.create_uri("/charts_track",{'timerange':timerange}) %} + {% set url = mlj_uri.create_uri("/charts_tracks",{'timerange':timerange}) %} {% elif 'artist' in filterkeys %} {% set url = mlj_uri.create_uri("/charts_artists",{'timerange':timerange}) %} {% endif %} diff --git a/maloja/web/jinja/track.jinja b/maloja/web/jinja/track.jinja index 7e915b7..0e3d021 100644 --- a/maloja/web/jinja/track.jinja +++ b/maloja/web/jinja/track.jinja @@ -69,7 +69,7 @@ -

Pulse

+

Pulse


{% for r in xranges %} -

Performance

+

Performance


{% for r in xranges %}