blob: 680e0d2146e3ef055021fd89ca52ada7c0e05520 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
[% INCLUDE 'admin/header.html' title=loc('Survey Results') %]
<table border="1">
<tr>
<th>[% loc('Reported before') %]</th>
<th>[% loc('Not reported before') %]</th>
</tr>
[% IF questionnaires.total > 0 %]
<tr>
<td>[% questionnaires.1 %] ([% 100 * questionnaires.1 / questionnaires.total | format('%.1f') %]%)</td>
<td>[% questionnaires.0 %] ([% 100 * questionnaires.0 / questionnaires.total | format('%.1f') %]%)</td>
</tr>
[% ELSE %]
<tr>
<td>[% loc('n/a') %]</td>
<td>[% loc('n/a') %]</td>
</tr>
[% END %]
</table>
<h2>[% loc('Problem state change based on survey results') %]</h2>
<table>
<tr><th>[% loc('Old state') %]</th><th>[% loc('New state') %]</th><th>[% loc('Total') %]</th></tr>
[% WHILE ( s = state_changes.next ) %]
<tr><td>[% s.old_state %]</td><td>[% s.new_state %]</td><td>[% s.get_column('c') %] ([% 100 * s.get_column('c') / state_changes_count | format('%.1f') %]%)</td></tr>
[% END %]
</table>
[% INCLUDE 'admin/footer.html' %]
|