diff options
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/admin/questionnaire.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/templates/web/default/admin/questionnaire.html b/templates/web/default/admin/questionnaire.html index baeb7c800..161bc9ba7 100644 --- a/templates/web/default/admin/questionnaire.html +++ b/templates/web/default/admin/questionnaire.html @@ -7,8 +7,8 @@ </tr> [% IF questionnaires.total > 0 %] <tr> - <td>[% questionnaires.1 %] ([% reported_pc %]%)</td> - <td>[% questionnaires.0 %] ([% not_reported_pc %]%)</td> + <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> @@ -18,4 +18,13 @@ [% 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.count %] ([% 100 * s.count / questionnaires.total | format('%.1f') %]%)</td></tr> +[% END %] +</table> + [% INCLUDE 'admin/footer.html' %] |