Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
gredu_labs
Commits
290280ee
Commit
290280ee
authored
Apr 11, 2016
by
Vassilis Kanellopoulos
Browse files
count only active units; update table headers
parent
c2cd3bdd
Changes
3
Show whitespace changes
Inline
Side-by-side
module/in_numbers/templates/in_numbers/index.twig
View file @
290280ee
...
...
@@ -5,7 +5,7 @@
<table
class=
"table table-borderless table-hover table-striped"
>
<thead>
<tr>
<th>
Τύπος
σχολείου
</th>
<th>
Τύπος
μονάδας
</th>
<th
style=
"width: 1%;white-space: nowrap"
>
Πλήθος καταχωρήσεων
</th>
<th
style=
"width: 1%;white-space: nowrap"
>
Πλήθος αιτήσεων
</th>
</tr>
...
...
module/in_numbers_mm/bootstrap.php
View file @
290280ee
...
...
@@ -36,6 +36,7 @@ return function (App $app) {
$auth
=
$config
[
'auth'
];
$url
=
$baseUri
->
withQueryValue
(
$baseUri
,
'unit_type'
,
$type
);
$url
=
$url
->
withQueryValue
(
$url
,
'pagesize'
,
1
);
$url
=
$url
->
withQueryValue
(
$url
,
'state'
,
1
);
$response
=
$httpClient
->
request
(
'GET'
,
$url
,
[
'auth'
=>
$auth
]);
$responseData
=
json_decode
(
$response
->
getBody
()
->
getContents
(),
true
);
...
...
module/in_numbers_mm/templates/in_numbers/index.twig
View file @
290280ee
...
...
@@ -5,9 +5,9 @@
<table
class=
"table table-borderless table-hover table-striped"
>
<thead>
<tr>
<th>
Τύπος
σχολείου
</th>
<th>
Τύπος
μονάδας
</th>
{%
if
schools_total_global
is
defined
%}
<th
style=
"width: 1%;white-space: nowrap"
>
Σχολεία
συνολικά
</th>
<th
style=
"width: 1%;white-space: nowrap"
>
Μονάδες
συνολικά
</th>
{%
endif
%}
<th
style=
"width: 1%;white-space: nowrap"
>
Πλήθος καταχωρήσεων
</th>
<th
style=
"width: 1%;white-space: nowrap"
>
Πλήθος αιτήσεων
</th>
...
...
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