diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-14 17:02:48 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-14 17:02:48 +0100 |
commit | 728b9aa49ca62bf3045bdd904e57ec47359e716a (patch) | |
tree | b849cb9f9d784b51edeaefda0d92ebf09b054b97 | |
parent | fbe159d78ce133cadf79645660f49ddf7bfbc569 (diff) |
Include fancybox code on reports/my pages.
This is so the photo modal works for pulled in report pages.
Fixes #1543.
-rw-r--r-- | templates/web/base/my/my.html | 1 | ||||
-rw-r--r-- | templates/web/base/my/planned.html | 1 | ||||
-rwxr-xr-x | templates/web/base/reports/body.html | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/base/my/my.html b/templates/web/base/my/my.html index 69f686f68..cddb37b6e 100644 --- a/templates/web/base/my/my.html +++ b/templates/web/base/my/my.html @@ -1,5 +1,6 @@ [% SET bodyclass = 'mappage'; + PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html" IF problems.size; INCLUDE 'header.html', title = loc('Your Reports') %] diff --git a/templates/web/base/my/planned.html b/templates/web/base/my/planned.html index 19d29f970..eab84bb9b 100644 --- a/templates/web/base/my/planned.html +++ b/templates/web/base/my/planned.html @@ -1,5 +1,6 @@ [% SET bodyclass = 'mappage'; + PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html" IF problems.size; INCLUDE 'header.html', title = loc('Your shortlist') %] diff --git a/templates/web/base/reports/body.html b/templates/web/base/reports/body.html index d0961d2f6..bf5a1ee9a 100755 --- a/templates/web/base/reports/body.html +++ b/templates/web/base/reports/body.html @@ -17,6 +17,7 @@ [% END %] [% + PROCESS "report/photo-js.html"; PROCESS "maps/${map.type}.html"; SET bodyclass = 'mappage'; INCLUDE 'header.html', |