aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/common_scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/common_scripts.html')
-rw-r--r--templates/web/base/common_scripts.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html
index 1d53f1d51..42c04f11f 100644
--- a/templates/web/base/common_scripts.html
+++ b/templates/web/base/common_scripts.html
@@ -16,6 +16,12 @@ scripts.push(
version('/cobrands/fixmystreet/fixmystreet.js'),
);
+IF c.user_exists AND (c.user.from_body OR c.user.is_superuser);
+ scripts.push(
+ version('/cobrands/fixmystreet/staff.js')
+ );
+END;
+
FOR script IN map_js;
scripts.push(script);
END;
@@ -28,7 +34,7 @@ scripts.push(
IF admin;
scripts.push(
version('/js/jquery-ui/js/jquery-ui-1.10.3.custom.min.js'),
- version('/js/fixmystreet-admin.js'),
+ version('/cobrands/fixmystreet/admin.js'),
);
END;