Skip to content

Commit 4846532

Browse files
committed
N°7047 - Fix regression from 7b59df2, portal themes others than "bootstrap" and "portal" not loaded due to change in expected path (now relative)
1 parent 90d28c1 commit 4846532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@
6464
{% endif %}
6565
{# Custom CSS that is supposed to do adjustments to the portal #}
6666
{% if app['combodo.portal.instance.conf'].properties.themes.custom is defined %}
67-
<link href="{{ app['combodo.portal.instance.conf'].properties.themes.custom|add_itop_version }}" rel="stylesheet">
67+
<link href="{{ app['combodo.absolute_url'] ~ app['combodo.portal.instance.conf'].properties.themes.custom|add_itop_version }}" rel="stylesheet">
6868
{% endif %}
6969
{# Others CSS that will come after the theme/portal/custom, in an undefined order #}
7070
{% if app['combodo.portal.instance.conf'].properties.themes.others is defined %}
7171
{% for theme in app['combodo.portal.instance.conf'].properties.themes.others %}
72-
<link href="{{ theme|add_itop_version }}" rel="stylesheet">
72+
<link href="{{ app['combodo.absolute_url'] ~ theme|add_itop_version }}" rel="stylesheet">
7373
{% endfor %}
7474
{% endif %}
7575
{% endblock %}

0 commit comments

Comments
 (0)