Skip to content

Commit a1636e4

Browse files
authored
Merge pull request #1891 from daniel89fg/ganchos-dashboard
Añadidos ganchos a la vista twig del dashboard
2 parents 165729b + 796ec03 commit a1636e4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Core/View/Dashboard.html.twig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,22 @@
4444
</div>
4545
</div>
4646
<div class="container" style="margin-top: -40px;">
47+
{# sectionLinks #}
48+
{% for includeView in getIncludeViews('Dashboard', 'sectionLinksBefore') %}
49+
{% include includeView['path'] %}
50+
{% endfor %}
4751
{% block sectionLinks %}
4852
<div class="row">
4953
<div class="col">
5054
{{ _self.sectionLinks(fsc) }}
5155
</div>
5256
</div>
5357
{% endblock %}
58+
{% for includeView in getIncludeViews('Dashboard', 'sectionLinksAfter') %}
59+
{% include includeView['path'] %}
60+
{% endfor %}
61+
62+
{# backup warning #}
5463
{% if fsc.showBackupWarning() %}
5564
<div class="row">
5665
<div class="col">
@@ -83,9 +92,22 @@
8392
{{ Utils.registerInstall() }}
8493
</div>
8594
{% endif %}
95+
96+
{# sectionStats #}
97+
{% for includeView in getIncludeViews('Dashboard', 'sectionStatsBefore') %}
98+
{% include includeView['path'] %}
99+
{% endfor %}
86100
{% block sectionStats %}
87101
{{ _self.sectionStats(fsc) }}
88102
{% endblock %}
103+
{% for includeView in getIncludeViews('Dashboard', 'sectionStatsAfter') %}
104+
{% include includeView['path'] %}
105+
{% endfor %}
106+
107+
{# sections #}
108+
{% for includeView in getIncludeViews('Dashboard', 'sectionsBefore') %}
109+
{% include includeView['path'] %}
110+
{% endfor %}
89111
{% block sections %}
90112
<div class="row">
91113
<div class="col">
@@ -99,6 +121,10 @@
99121
</div>
100122
{{ _self.sectionNews(fsc) }}
101123
{% endblock %}
124+
{% for includeView in getIncludeViews('Dashboard', 'sectionsAfter') %}
125+
{% include includeView['path'] %}
126+
{% endfor %}
127+
102128
</div>
103129
{% endblock %}
104130

0 commit comments

Comments
 (0)