override in_numbers module and fetch totals for school types from mm

parent 70fcd2bb
{% extends "layout.twig" %}
{% block content %}
<h1>EduLabs σε αριθμούς</h1>
<div class="table-responsive">
<table class="table table-borderless table-hover table-striped">
<thead>
<tr>
<th>Τύπος σχολείου</th>
<th style="width: 1%;white-space: nowrap">Πλήθος καταχωρήσεων</th>
<th style="width: 1%;white-space: nowrap">Πλήθος αιτήσεων</th>
</tr>
</thead>
<tbody>
{% for row in school_types %}
<tr>
<th>{{ row.type }}</th>
<td class="text-center">{{ row.schools_cnt }}</td>
<td class="text-center">{{ row.appforms_cnt }}</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td></td>
<th class="text-center">{{ totals.schools_total }}</th>
<th class="text-center">{{ totals.appforms_total }}</th>
</tr>
</tfoot>
</table>
</div>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment