lille-metropole-2022: remove assets library from user-info template (#72598)

This commit is contained in:
Thomas Jund 2022-12-20 15:46:12 +01:00 committed by Gitea
parent d2f8613084
commit e32f01bdb0
1 changed files with 2 additions and 4 deletions

View File

@ -1,14 +1,12 @@
{% extends "includes/user-info.html" %}
{% load assets %}
{% block user-info %}
{{ block.super }}
{% get_asset "mel:logo" as mel_logo %}
{% if mel_link and mel_logo %}
{% if mel_link %}
<div class="mel-link-wrapper">
<a href="{{ mel_link }}">
<img src="{{site_base}}{% asset_url mel_logo %}" alt="MEL" />
<img src="{{portal_url}}assets/mel:logo" alt="MEL" />
</a>
</div>
{% endif %}