aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/questionnaire.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/admin/questionnaire.html')
-rw-r--r--templates/web/default/admin/questionnaire.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/web/default/admin/questionnaire.html b/templates/web/default/admin/questionnaire.html
new file mode 100644
index 000000000..5a9c74b5e
--- /dev/null
+++ b/templates/web/default/admin/questionnaire.html
@@ -0,0 +1,21 @@
+[% 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 %] ([% reported_pc %]%)</td>
+ <td>[% questionnaires.0 %] ([% not_reported_pc %]%)</td>
+ </tr>
+ [% ELSE %]
+ <tr>
+ <td>n/a</td>
+ <td>n/a</td>
+ </tr>
+ [% END %]
+</table>
+
+[% INCLUDE 'admin/footer.html' %]