1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Various small issues

This commit is contained in:
Krateng 2020-09-04 12:18:34 +02:00
parent 19c928773d
commit e4139369fe
No known key found for this signature in database
GPG Key ID: 46735607861C6FCE
4 changed files with 5 additions and 12 deletions

View File

@ -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

View File

@ -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 %}

View File

@ -69,7 +69,7 @@
<tr>
<td>
<h2><a href='{{ mlj_uri.create_uri("/pulse",filterkeys) }}'>Pulse</a></h2>
<h2 class="headerwithextra"><a href='{{ mlj_uri.create_uri("/pulse",filterkeys) }}'>Pulse</a></h2>
<br/>
{% for r in xranges %}
<span
@ -99,7 +99,7 @@
</td>
<td>
<!-- We use the same classes / function calls here because we want it to switch together with pulse -->
<h2><a href='{{ mlj_uri.create_uri("/performance",filterkeys) }}'>Performance</a></h2>
<h2 class="headerwithextra"><a href='{{ mlj_uri.create_uri("/performance",filterkeys) }}'>Performance</a></h2>
<br/>
{% for r in xranges %}
<span

View File

@ -692,7 +692,7 @@ table.tiles_sub div {
table.tiles_top td div {
background-size:cover;
background-position:center;
background-position:top center;
vertical-align:bottom;
}