Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gredu_labs
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Σταύρος Παπαδάκης
gredu_labs
Commits
7a645fec
Commit
7a645fec
authored
Apr 07, 2016
by
Vassilis Kanellopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
override in_numbers module and fetch totals for school types from mm
parent
70fcd2bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
module/in_numbers_mm/templates/in_numbers/index.twig
module/in_numbers_mm/templates/in_numbers/index.twig
+31
-0
No files found.
module/in_numbers_mm/templates/in_numbers/index.twig
0 → 100644
View file @
7a645fec
{%
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment