mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fix resources URL not being printed correctly
If there was any parameters in the URL it would not work as the `&` would have been printed as `&`, see similar issue in the previous commit
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{% endif %}
|
||||
<title>{{ aPage.sTitle }}</title>
|
||||
{% if aPage.sFaviconUrl is defined %}
|
||||
<link rel="shortcut icon" href="{{ aPage.sFaviconUrl|raw|add_itop_version }}">
|
||||
<link rel="shortcut icon" href="{{ aPage.sFaviconUrl|add_itop_version|raw }}">
|
||||
{% endif %}
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="iTop" href="{{ aPage.sAbsoluteUrlAppRoot }}pages/opensearch.xml.php">
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
{% block iboPageCssFiles %}
|
||||
{% for aCssFileData in aPage.aCssFiles %}
|
||||
{% if aCssFileData['condition'] != '' %}<!--[if {{ aCssFileData['condition'] }}]>{% endif %}
|
||||
<link type="text/css" href="{{ aCssFileData['link']|raw|add_itop_version }}" rel="stylesheet">
|
||||
<link type="text/css" href="{{ aCssFileData['link']|add_itop_version|raw }}" rel="stylesheet">
|
||||
{% if aCssFileData['condition'] != '' %}<![endif]-->{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
@@ -59,7 +59,7 @@
|
||||
{% endif %}
|
||||
{% block iboPageJsFiles %}
|
||||
{% for sJsFile in aPage.aJsFiles %}
|
||||
<script type="text/javascript" src="{{ sJsFile|raw|add_itop_version }}"></script>
|
||||
<script type="text/javascript" src="{{ sJsFile|add_itop_version|raw }}"></script>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user