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

Fixed design of records on artist page

This commit is contained in:
Krateng
2020-09-06 18:54:31 +02:00
parent a462faf2bf
commit 60a06efad8
2 changed files with 77 additions and 66 deletions

View File

@@ -59,8 +59,7 @@
{% for track in db.get_tracks(artist=artist) -%}
{% set info = db.trackInfo(track) %}
{% if info.certification is not none -%}
<a href='{{ links.url(track) }}'>
<img class="certrecord_small"
<a href='{{ links.url(track) }}'><img class="certrecord_small"
src="/media/record_{{ info.certification }}.png"
title="{{ track.title }} has reached {{ info.certification.capitalize() }} status" /></a>
{%- endif %}