aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-03-11 17:13:17 +0000
committerStruan Donald <struan@exo.org.uk>2014-04-08 13:21:09 +0100
commit1956601629e2f7c9da4cbce9eb0cbba9242e2f3e (patch)
treee852c2c3c3514189fdd91e8e36e6c28596666bdb /templates
parentcbc79c13e9b4d1418f0a717cfff4d978a09f46e8 (diff)
add in report display template
removing so much that we might as well copy the template, especially as we need to change the header include. Removed from default: most of shadow wrap RSS list of updates which are not public plus Report -> Clinic
Diffstat (limited to 'templates')
-rw-r--r--templates/web/zerotb/report/display.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/web/zerotb/report/display.html b/templates/web/zerotb/report/display.html
new file mode 100644
index 000000000..5febcaaab
--- /dev/null
+++ b/templates/web/zerotb/report/display.html
@@ -0,0 +1,28 @@
+[%
+ PROCESS "report/photo-js.html";
+ PROCESS "maps/${map.type}.html";
+
+ problem_title = problem.title_safe _ ' - ' _ loc('Viewing a Clinic');
+ INCLUDE 'header.html'
+ title = problem_title
+ robots = 'index, nofollow'
+ bodyclass = 'mappage';
+%]
+
+[% map_html %]
+
+</div>
+
+[% INCLUDE 'report/banner.html' %]
+
+[% INCLUDE 'report/_main.html' %]
+
+<div class="shadow-wrap">
+ <ul id="key-tools">
+ <li><a class="chevron" id="key-tool-problems-nearby" href="[% c.uri_for( '/around', { lat => short_latitude, lon => short_longitude } ) %]">[% loc( 'Clinics nearby' ) %]</a></li>
+ </ul>
+
+</div>
+
+[% INCLUDE 'report/update-form.html' %]
+[% INCLUDE 'footer.html' %]