Skip to content
Extraits de code Groupes Projets
Valider 76eb1f61 rédigé par Stefan Giehl's avatar Stefan Giehl Validation de GitHub
Parcourir les fichiers

Hide dashboard selection box if no dashboards available for selection (#11757)

parent 2b3f2016
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
{% include "@CoreHome/_periodSelect.twig" %} {% include "@CoreHome/_periodSelect.twig" %}
{{ postEvent("Template.nextToCalendar") }} {{ postEvent("Template.nextToCalendar") }}
{% render dashboardSettingsControl %} {% render dashboardSettingsControl %}
{% if dashboards|length %}
<div id="Dashboard" class="piwikTopControl borderedControl piwikSelector"> <div id="Dashboard" class="piwikTopControl borderedControl piwikSelector">
<ul> <ul>
{% for dashboard in dashboards %} {% for dashboard in dashboards %}
...@@ -13,6 +14,7 @@ ...@@ -13,6 +14,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% endif %}
</div> </div>
{% import 'ajaxMacros.twig' as ajax %} {% import 'ajaxMacros.twig' as ajax %}
{{ ajax.loadingDiv }} {{ ajax.loadingDiv }}
......
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