Skip to content
Extraits de code Groupes Projets
Valider d0b0c8d0 rédigé par Thomas Steur's avatar Thomas Steur Validation de Matthieu Aubry
Parcourir les fichiers

Fix Clicking on the "Dashboard" top link hides all dashboard content (#11429)

* Fix Clicking on the "Dashboard" top link hides all dashboard content 

fixes #11386

* also fix links in admin menu
parent 28066b5c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<li {% if urlParameters._url.module is defined and urlParameters._url.module == currentModule and urlParameters._url.action is defined and urlParameters._url.action == currentAction %}class="active"{% endif %} <li {% if urlParameters._url.module is defined and urlParameters._url.module == currentModule and urlParameters._url.action is defined and urlParameters._url.action == currentAction %}class="active"{% endif %}
role="menuitem" role="menuitem"
> >
<a class="item" tabindex="5" <a class="item" tabindex="5" target="_self"
title="{{ urlParameters._tooltip|default('')|translate|e('html_attr') }}" title="{{ urlParameters._tooltip|default('')|translate|e('html_attr') }}"
href="index.php?{{ urlParameters._url|urlRewriteWithParameters|slice(1) }}"> href="index.php?{{ urlParameters._url|urlRewriteWithParameters|slice(1) }}">
{{ name|translate }} {{ name|translate }}
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
{% for name,urlParameters in level2 %} {% for name,urlParameters in level2 %}
{% if name|slice(0,1) != '_' %} {% if name|slice(0,1) != '_' %}
<li> <li>
<a title="{{ urlParameters._tooltip|default('')|translate|e('html_attr') }}" <a title="{{ urlParameters._tooltip|default('')|translate|e('html_attr') }}" target="_self"
href="index.php?{{ urlParameters._url|urlRewriteWithParameters|slice(1) }}">{{ name|translate }}</a> href="index.php?{{ urlParameters._url|urlRewriteWithParameters|slice(1) }}">{{ name|translate }}</a>
</li> </li>
{% endif %} {% endif %}
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
{{ menu._html|raw }} {{ menu._html|raw }}
{% else %} {% else %}
<a {% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %} <a {% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %}
id="topmenu-{{ menu._url.module|lower }}" id="topmenu-{{ menu._url.module|lower }}" target="_self"
href="index.php{{ menu._url|urlRewriteWithParameters }}" tabindex="3">{{ _self.menuItemLabel(label, icon) }}</a> href="index.php{{ menu._url|urlRewriteWithParameters }}" tabindex="3">{{ _self.menuItemLabel(label, icon) }}</a>
{% endif %} {% endif %}
{% endmacro %} {% endmacro %}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter