From 796ec03ecf296063536d9fcbaf604596a625fc9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Fern=C3=A1ndez=20Gim=C3=A9nez?= Date: Tue, 24 Feb 2026 13:18:51 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adidos=20ganchos=20a=20la=20vista=20twig?= =?UTF-8?q?=20del=20dashboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/View/Dashboard.html.twig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Core/View/Dashboard.html.twig b/Core/View/Dashboard.html.twig index c34a47256c..a5f47a489b 100644 --- a/Core/View/Dashboard.html.twig +++ b/Core/View/Dashboard.html.twig @@ -44,6 +44,10 @@
+ {# sectionLinks #} + {% for includeView in getIncludeViews('Dashboard', 'sectionLinksBefore') %} + {% include includeView['path'] %} + {% endfor %} {% block sectionLinks %}
@@ -51,6 +55,11 @@
{% endblock %} + {% for includeView in getIncludeViews('Dashboard', 'sectionLinksAfter') %} + {% include includeView['path'] %} + {% endfor %} + + {# backup warning #} {% if fsc.showBackupWarning() %}
@@ -83,9 +92,22 @@ {{ Utils.registerInstall() }}
{% endif %} + + {# sectionStats #} + {% for includeView in getIncludeViews('Dashboard', 'sectionStatsBefore') %} + {% include includeView['path'] %} + {% endfor %} {% block sectionStats %} {{ _self.sectionStats(fsc) }} {% endblock %} + {% for includeView in getIncludeViews('Dashboard', 'sectionStatsAfter') %} + {% include includeView['path'] %} + {% endfor %} + + {# sections #} + {% for includeView in getIncludeViews('Dashboard', 'sectionsBefore') %} + {% include includeView['path'] %} + {% endfor %} {% block sections %}
@@ -99,6 +121,10 @@
{{ _self.sectionNews(fsc) }} {% endblock %} + {% for includeView in getIncludeViews('Dashboard', 'sectionsAfter') %} + {% include includeView['path'] %} + {% endfor %} +
{% endblock %}