Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Core/View/Dashboard.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,22 @@
</div>
</div>
<div class="container" style="margin-top: -40px;">
{# sectionLinks #}
{% for includeView in getIncludeViews('Dashboard', 'sectionLinksBefore') %}
{% include includeView['path'] %}
{% endfor %}
{% block sectionLinks %}
<div class="row">
<div class="col">
{{ _self.sectionLinks(fsc) }}
</div>
</div>
{% endblock %}
{% for includeView in getIncludeViews('Dashboard', 'sectionLinksAfter') %}
{% include includeView['path'] %}
{% endfor %}

{# backup warning #}
{% if fsc.showBackupWarning() %}
<div class="row">
<div class="col">
Expand Down Expand Up @@ -83,9 +92,22 @@
{{ Utils.registerInstall() }}
</div>
{% 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 %}
<div class="row">
<div class="col">
Expand All @@ -99,6 +121,10 @@
</div>
{{ _self.sectionNews(fsc) }}
{% endblock %}
{% for includeView in getIncludeViews('Dashboard', 'sectionsAfter') %}
{% include includeView['path'] %}
{% endfor %}

</div>
{% endblock %}

Expand Down
Loading