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:
parent
19c928773d
commit
e4139369fe
@ -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
|
||||
|
@ -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 %}
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user