templates: apply custom css to portal agent (#49541)

This commit is contained in:
Frédéric Péters 2020-12-16 15:18:25 +01:00
parent f7ff5b0f18
commit 146cb14f18
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@
{% block css %}
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}portal-agent/css/agent-portal.css"/>
{% if portal_agent_extra_css|first == '/' %}
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ portal_agent_extra_css }}">
{% elif portal_agent_extra_css %}
<link rel="stylesheet" type="text/css" href="{{ portal_agent_extra_css }}">
{% endif %}
{% endblock %}
{% block extrascripts %}