aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/questionnaire/index.html2
-rw-r--r--templates/web/default/report/_main.html13
2 files changed, 13 insertions, 2 deletions
diff --git a/templates/web/default/questionnaire/index.html b/templates/web/default/questionnaire/index.html
index 142a8b909..2bc28451f 100644
--- a/templates/web/default/questionnaire/index.html
+++ b/templates/web/default/questionnaire/index.html
@@ -1,5 +1,7 @@
[% INCLUDE 'header.html', title = loc('Questionnaire') %]
+[% INCLUDE 'report/_main.html' %]
+
# FIXME The below should be in the template, by including a map template.
[% map_start_html %]
diff --git a/templates/web/default/report/_main.html b/templates/web/default/report/_main.html
index 42cb4895d..53dcb9a13 100644
--- a/templates/web/default/report/_main.html
+++ b/templates/web/default/report/_main.html
@@ -1,6 +1,15 @@
-<h1>[% problem_title %]</h1>
+<h1>[% problem.title | html %]</h1>
-<p><em>[% meta | html %]</em></p>
+<p><em>[% problem.meta_line(c) | html %]
+[% IF problem.council %]
+ [% IF problem.whensent %]
+ <small class="council_sent_info"><br>[% problem.duration_string %]</small>
+ [% END %]
+[% ELSE %]
+<br><small>[% loc('Not reported to council') %]</small>
+[% END %]
+
+</em></p>
[% FOREACH line IN split_into_lines( problem.detail ) %]
<p>