diff options
author | Chris Mytton <self@hecticjeff.net> | 2013-08-29 18:33:00 +0100 |
---|---|---|
committer | Chris Mytton <self@hecticjeff.net> | 2013-08-29 18:35:17 +0100 |
commit | 21349fb5461d622aeaf3d3f40bb09f2081de6285 (patch) | |
tree | ae0165636359db072322fbef08457553e6160404 | |
parent | 30db51d4098650d4a32e9fabd40f4dca304c0197 (diff) |
[Oxfordshire] Override report/_main template
This allows us to change the way the council ref is displayed
-rw-r--r-- | templates/web/oxfordshire/report/_main.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/web/oxfordshire/report/_main.html b/templates/web/oxfordshire/report/_main.html new file mode 100644 index 000000000..42450b260 --- /dev/null +++ b/templates/web/oxfordshire/report/_main.html @@ -0,0 +1,38 @@ +<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 %] + [% IF problem.whensent || problem.can_display_external_id %] + <small class="council_sent_info"><br> + [% IF problem.whensent %] + [% problem.duration_string(c) %]<br> + [% END %] + <strong> + [% IF problem.can_display_external_id %] + [% IF problem.whensent %] + Council ref: [% problem.external_id %] + [% ELSE %] + [% problem.external_body %] ref: [% problem.external_id %] + [% END %] + [% END %] + </strong> + </small> + [% END %] + [% 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> |