aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/common_scripts.html5
-rw-r--r--templates/web/base/report/_inspect.html3
2 files changed, 5 insertions, 3 deletions
diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html
index 60775fcae..56b2e6d2e 100644
--- a/templates/web/base/common_scripts.html
+++ b/templates/web/base/common_scripts.html
@@ -39,6 +39,11 @@ IF c.user_exists AND (c.user.from_body OR c.user.is_superuser);
version('/jslib/jquery-1.7.2.min.js'),
version('/cobrands/fixmystreet/staff.js')
);
+ IF bodyclass.match('mappage');
+ scripts.push(
+ version('/js/duplicates.js')
+ );
+ END;
IF c.user.has_body_permission_to('planned_reports');
scripts.push(
version('/cobrands/fixmystreet/offline.js'),
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html
index 7a337b7bb..c6873d473 100644
--- a/templates/web/base/report/_inspect.html
+++ b/templates/web/base/report/_inspect.html
@@ -1,6 +1,3 @@
-[% extra_js = [
- version('/js/duplicates.js'),
-] -%]
[% permissions = c.user.permissions(problem) %]
[% second_column = BLOCK -%]
<div id="side-inspect">