aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/report/_main.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-07-07 16:59:23 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-07-08 17:59:17 +0100
commitba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (patch)
tree8b9e1a960f91c006606b5e0767a84a400dfc2fb0 /templates/web/base/report/_main.html
parent8f2c5942e3aa5d3b85e76b7353ab7ada87f97fc6 (diff)
Rename 'default' web directory to 'base'.
This should reduce confusion with the Default cobrand and override order.
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>