Skip to content

Commit

Permalink
Fix GH-290
Browse files Browse the repository at this point in the history
  • Loading branch information
krateng committed Nov 9, 2023
1 parent 04a8b0a commit 9655817
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion maloja/web/jinja/partials/awards_album.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
{%- if e.scrobbles >= settings.scrobbles_diamond -%}{% set cert = 'diamond' %}{%- endif -%}

{%- if cert -%}
<a href='{{ links.url(e.track) }}' class="hidelink certified certified_{{ cert }} smallcerticon" title="{{ e.track.title }} has reached {{ cert.capitalize() }} status">
<a href='{{ links.url(e.track) }}' class="hidelink certified certified_{{ cert }} smallcerticon" title="{{ e.track.title | e }} has reached {{ cert.capitalize() }} status">
{% include 'icons/cert_track.jinja' %}
</a>
{%- endif %}
Expand Down
4 changes: 2 additions & 2 deletions maloja/web/jinja/partials/awards_artist.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{%- if e.scrobbles >= settings.scrobbles_diamond_album -%}{% set cert = 'diamond' %}{%- endif -%}

{%- if cert -%}
<a href='{{ links.url(e.album) }}' class="hidelink certified certified_{{ cert }} smallcerticon" title="{{ e.album.albumtitle }} has reached {{ cert.capitalize() }} status">
<a href='{{ links.url(e.album) }}' class="hidelink certified certified_{{ cert }} smallcerticon" title="{{ e.album.albumtitle | e }} has reached {{ cert.capitalize() }} status">
{% include 'icons/cert_album.jinja' %}
</a>
{%- endif %}
Expand All @@ -87,7 +87,7 @@
{%- if e.scrobbles >= settings.scrobbles_diamond -%}{% set cert = 'diamond' %}{%- endif -%}

{%- if cert -%}
<a href='{{ links.url(e.track) }}' class="hidelink certified certified_{{ cert }} smallcerticon" title="{{ e.track.title }} has reached {{ cert.capitalize() }} status">
<a href='{{ links.url(e.track) }}' class="hidelink certified certified_{{ cert }} smallcerticon" title="{{ e.track.title | e }} has reached {{ cert.capitalize() }} status">
{% include 'icons/cert_track.jinja' %}
</a>
{%- endif %}
Expand Down

0 comments on commit 9655817

Please sign in to comment.