aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/report/_main.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/report/_main.html')
-rw-r--r--templates/web/base/report/_main.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/web/base/report/_main.html b/templates/web/base/report/_main.html
new file mode 100644
index 000000000..0124052c0
--- /dev/null
+++ b/templates/web/base/report/_main.html
@@ -0,0 +1,23 @@
+<div class="problem-header cf">
+ <h1>[% problem.title | html %]</h1>
+
+ <p><em>
+ [% problem.meta_line(c) | html %]
+ [%- IF !problem.used_map AND c.cobrand.moniker != 'emptyhomes' %]; <strong>[% loc('there is no pin shown as the user did not use the map') %]</strong>[% END %]
+ [% IF problem.bodies_str %]
+ [% INCLUDE 'report/_council_sent_info.html' %]
+ [% ELSE %]
+ <br><small>[% loc('Not reported to council') %]</small>
+ [% END %]
+ </em></p>
+ [% INCLUDE 'report/_support.html' %]
+
+ [% IF c.cobrand.moniker == 'southampton' %]
+ [% add_links( problem.detail ) | html_para %]
+ [% INCLUDE 'report/photo.html' object=problem %]
+ [% ELSE %]
+ [% INCLUDE 'report/photo.html' object=problem %]
+ [% add_links( problem.detail ) | html_para %]
+ [% END %]
+
+</div>