aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/email/fiksgatami/problem-confirm.txt2
-rw-r--r--templates/web/barnet/header.html10
-rw-r--r--templates/web/default/admin/problem_row.html9
-rw-r--r--templates/web/default/admin/search_users.html2
-rw-r--r--templates/web/default/admin/stats.html36
-rw-r--r--templates/web/default/admin/user_edit.html1
-rwxr-xr-xtemplates/web/default/around/display_location.html2
-rw-r--r--templates/web/default/common_header_tags.html3
-rw-r--r--templates/web/default/debug_footer.html2
-rw-r--r--templates/web/default/debug_header.html2
-rw-r--r--templates/web/default/footer.html2
-rw-r--r--templates/web/default/front/stats.html3
-rw-r--r--templates/web/default/header.html21
-rw-r--r--templates/web/default/index.html14
-rw-r--r--templates/web/default/maps/bing.html2
-rw-r--r--templates/web/default/maps/fms.html8
-rw-r--r--templates/web/default/maps/google.html2
-rw-r--r--templates/web/default/maps/osm-streetview.html8
-rw-r--r--templates/web/default/maps/osm.html8
-rw-r--r--templates/web/emptyhomes/header.html15
-rw-r--r--templates/web/fiksgatami/footer.html1
-rw-r--r--templates/web/fiksgatami/header.html4
-rw-r--r--templates/web/lichfielddc/header.html2
-rw-r--r--templates/web/southampton/header.html6
24 files changed, 106 insertions, 59 deletions
diff --git a/templates/email/fiksgatami/problem-confirm.txt b/templates/email/fiksgatami/problem-confirm.txt
index cd58d95ce..a48fbef44 100644
--- a/templates/email/fiksgatami/problem-confirm.txt
+++ b/templates/email/fiksgatami/problem-confirm.txt
@@ -7,7 +7,7 @@ på FiksGataMi:
[% token_url %]
-Hvis ditt epost program ikke gir deg mulighet til å klikke på linken,
+Hvis ditt epost-program ikke gir deg mulighet til å klikke på linken,
kopier linken inn i nettleseren.
Din sak hadde følgende tittel:
diff --git a/templates/web/barnet/header.html b/templates/web/barnet/header.html
index 1616198e7..8270154ab 100644
--- a/templates/web/barnet/header.html
+++ b/templates/web/barnet/header.html
@@ -3,7 +3,7 @@
<head>
<link rel="stylesheet" type="text/css" href="/cobrands/barnet/css/basic.css">
- <link rel="stylesheet" type="text/css" href="/css/core.css">
+ <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
<link rel="stylesheet" type="text/css" href="/cobrands/barnet/css/layout.css">
<!-- Preferred style sheet enabled when the page is loaded -->
@@ -41,10 +41,10 @@
<![endif]-->
<link rel="stylesheet" media="print" type="text/css" href="/cobrands/barnet/css/print.css">
- <script type="text/javascript" src="/cobrands/barnet/javascript/jquery-1.2.6_common.js"></script>
- <script type="text/javascript" src="/cobrands/barnet/javascript/styleswitch.js"></script>
- <script type="text/javascript" src="/cobrands/barnet/javascript/jquery-cookie-min.js"></script>
- <script type="text/javascript" src="/cobrands/barnet/javascript/2008-portsurf.js"></script>
+ <script type="text/javascript" src="[% version('/cobrands/barnet/javascript/jquery-1.2.6_common.js') %]"></script>
+ <script type="text/javascript" src="[% version('/cobrands/barnet/javascript/styleswitch.js') %]"></script>
+ <script type="text/javascript" src="[% version('/cobrands/barnet/javascript/jquery-cookie-min.js') %]"></script>
+ <script type="text/javascript" src="[% version('/cobrands/barnet/javascript/2008-portsurf.js') %]"></script>
[% INCLUDE 'common_header_tags.html' %]
diff --git a/templates/web/default/admin/problem_row.html b/templates/web/default/admin/problem_row.html
index 664ff1b13..22825429a 100644
--- a/templates/web/default/admin/problem_row.html
+++ b/templates/web/default/admin/problem_row.html
@@ -1,6 +1,6 @@
[%- FOR problem IN problems %]
<tr[% ' class="hidden"' IF problem.state == 'hidden' %]>
- <td>[%- IF problem.state == 'confirmed' || problem.state == 'fixed' -%]
+ <td>[%- IF problem.is_visible -%]
[%- cobrand_data = problem.cobrand_data %]
[%- cobrand_data = c.data_for_generic_problem IF !problem.cobrand %]
<a href="[% c.uri_for_email( '/report', problem.id, cobrand_data ) %]">[% problem.id %]</a>
@@ -20,9 +20,10 @@
<td>[% problem.cobrand %]<br>[% problem.cobrand_data | html %]</td>
<td>[% PROCESS format_time time=problem.created %]</td>
<td>[% problem.state %]<small>
- [%- IF problem.state == 'fixed' || problem.state == 'confirmed' %]<br>[% loc('Confirmed:' ) %]&nbsp;[% PROCESS format_time time=problem.confirmed %][% END -%]
- [%- IF problem.state == 'fixed' %]<br>[% loc('Fixed:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]
- [%- IF problem.state == 'confirmed' %]<br>[% loc('Last&nbsp;update:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]</small>
+ [%- IF problem.is_visible %]<br>[% loc('Confirmed:' ) %]&nbsp;[% PROCESS format_time time=problem.confirmed %][% END -%]
+ [%- IF problem.is_fixed %]<br>[% loc('Fixed:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]
+ [%- IF problem.is_closed %]<br>[% loc('Closed:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]
+ [%- IF problem.is_open %]<br>[% loc('Last&nbsp;update:') %] [% PROCESS format_time time=problem.lastupdate %][% END -%]</small>
</td>
<td>[% PROCESS format_time time=problem.whensent %]</td>
<td><a href="[% c.uri_for( 'report_edit', problem.id ) %]">[% loc('Edit') %]</a></td>
diff --git a/templates/web/default/admin/search_users.html b/templates/web/default/admin/search_users.html
index 43fdebf2b..b4fa2c2da 100644
--- a/templates/web/default/admin/search_users.html
+++ b/templates/web/default/admin/search_users.html
@@ -12,6 +12,7 @@
<th>[% loc('Name') %]</th>
<th>[% loc('Email') %]</th>
<th>[% loc('Council') %]</th>
+ <th>[% loc('Flagged') %]</th>
<th>*</th>
</tr>
[%- FOREACH user IN users %]
@@ -19,6 +20,7 @@
<td>[% PROCESS value_or_nbsp value=user.name %]</td>
<td>[% PROCESS value_or_nbsp value=user.email %]</td>
<td>[% PROCESS value_or_nbsp value=user.from_council %]</td>
+ <td>[% user.flagged ? loc('Yes') : '&nbsp;' %]</td>
<td><a href="[% c.uri_for( 'user_edit', user.id ) %]">[% loc('Edit') %]</a></td>
</tr>
[%- END -%]
diff --git a/templates/web/default/admin/stats.html b/templates/web/default/admin/stats.html
index ccd41601a..3b9f4a264 100644
--- a/templates/web/default/admin/stats.html
+++ b/templates/web/default/admin/stats.html
@@ -4,6 +4,28 @@
<p>
<strong>[% tprintf( loc( '%sreports between %s and %s' ), ( unconfirmed ? loc( 'All' ) _ ' ' : loc( 'Confirmed' ) _ ' ' ), start_date.ymd, end_date.ymd ) | html %]</strong>
</p>
+[% IF bymonth %]
+<table>
+ <thead>
+ <td style="width: 8em"><strong>[% loc('Year') %]</strong></td>
+ <td style="width: 8em"><strong>[% loc('Month') %]</strong></td>
+ <td><strong>[% loc('Count') %]</strong></td>
+ </thead>
+ [% total = 0 %]
+ [% WHILE ( state = states.next ) %]
+ [% total = total + state.get_column( 'count' ) %]
+ <tr>
+ <td>[% state.get_column( 'c_year') | html %]</td>
+ <td>[% state.get_column( 'c_month') | html %]</td>
+ <td>[% state.get_column( 'count' ) %]</td>
+ </tr>
+ [% END %]
+ <tr>
+ <td colspan="2"><strong>[% loc( 'Total' ) %]</strong></td>
+ <td><strong>[% total %]</strong></td>
+ </tr>
+</table>
+[% ELSE %]
<table>
<thead>
<td style="width: 8em"><strong>[% loc('Current state') %]</strong></td>
@@ -22,6 +44,7 @@
<td><strong>[% total %]</strong></td>
</tr>
</table>
+[% END %]
[% IF unconfirmed %]
<p>
@@ -54,6 +77,19 @@
</p>
<p>
+ <input type="checkbox" name="bymonth" id="bymonth"[% bymonth ? ' checked' : '' %] /><label for="bymonth">[% loc('By Date') %]</label>
+ </p>
+
+ <p>
+ [% loc('Council:') %] <select id='council' name='council'>
+ <option value=''>[% loc('No council') %]</option>
+ [% FOR council IN council_ids %]
+ <option value="[% council %]"[% ' selected' IF council == selected_council %]>[% council_details.$council.name %]</option>
+ [% END %]
+ </select>
+ </p>
+
+ <p>
<input type="submit" name="getcounts" size="30" id="getcounts" value="Get Count" />
</p>
</form>
diff --git a/templates/web/default/admin/user_edit.html b/templates/web/default/admin/user_edit.html
index 7db8f5c63..a03a4b734 100644
--- a/templates/web/default/admin/user_edit.html
+++ b/templates/web/default/admin/user_edit.html
@@ -15,6 +15,7 @@
<option value="[% council %]"[% ' selected' IF council == user.from_council %]>[% council_details.$council.name %]</option>
[% END %]
</select>
+<li>[% loc('Flagged:') %] <input type="checkbox" id="flagged" name="flagged"[% user.flagged ? ' checked' : '' %]></li>
</ul>
<input type="submit" name="Submit changes" value="[% loc('Submit changes') %]" ></form>
diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html
index bef8954ba..242253ab8 100755
--- a/templates/web/default/around/display_location.html
+++ b/templates/web/default/around/display_location.html
@@ -35,7 +35,7 @@
robots => 'noindex,nofollow';
%]
-<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm">
+<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm" enctype="multipart/form-data">
[% IF c.req.params.map_override %]
<input type="hidden" name="map_override" value="[% c.req.params.map_override | html %]">
[% END %]
diff --git a/templates/web/default/common_header_tags.html b/templates/web/default/common_header_tags.html
index 206a0e6d4..e6278847d 100644
--- a/templates/web/default/common_header_tags.html
+++ b/templates/web/default/common_header_tags.html
@@ -1,6 +1,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="/jslib/jquery-1.6.2.min.js"></script>
-<script type="text/javascript" src="/js/fixmystreet.js"></script>
+<script type="text/javascript" src="[% version('/js/geo.min.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/fixmystreet.js') %]"></script>
[% map_js %]
diff --git a/templates/web/default/debug_footer.html b/templates/web/default/debug_footer.html
index ffb3abbab..a1b7fc155 100644
--- a/templates/web/default/debug_footer.html
+++ b/templates/web/default/debug_footer.html
@@ -1,4 +1,4 @@
-[% IF c.config.STAGING_SITE %]
+[% IF c.config.STAGING_SITE and c.config.SHOW_DEBUG %]
<hr style="clear: both;">
diff --git a/templates/web/default/debug_header.html b/templates/web/default/debug_header.html
index 1468d171c..92ccbc357 100644
--- a/templates/web/default/debug_header.html
+++ b/templates/web/default/debug_header.html
@@ -1,4 +1,4 @@
-[% IF c.config.STAGING_SITE %]
+[% IF c.config.STAGING_SITE and c.config.SHOW_DEBUG %]
<p class="dev-site-notice">
[% loc("This is a developer site; things might break at any time, and the database will be periodically deleted.") %]
</p>
diff --git a/templates/web/default/footer.html b/templates/web/default/footer.html
index bd684b722..b1f22da2c 100644
--- a/templates/web/default/footer.html
+++ b/templates/web/default/footer.html
@@ -14,7 +14,7 @@
<div id="footer">
<p>[% loc('Built by <a href="http://www.mysociety.org/">mySociety</a>') %]
- | <a href="/contact">[% loc("Contact FixMyStreet") %]</a></p>
+ | <a href="/contact">[% loc("Contact FixMyStreet") | replace(' ', '&nbsp;') %]</a></p>
<p>Mobile apps:
<a href="http://itunes.apple.com/gb/app/fixmystreet/id297456545">iPhone</a>,
diff --git a/templates/web/default/front/stats.html b/templates/web/default/front/stats.html
index 4b98ef31e..c5d931d08 100644
--- a/templates/web/default/front/stats.html
+++ b/templates/web/default/front/stats.html
@@ -4,8 +4,6 @@
# 'Template::Plugin::Number::Format'
%]
-<h2>[% loc('FixMyStreet updates') %]</h2>
-
[%
stats = c.cobrand.front_stats_data();
@@ -43,4 +41,3 @@
[% END %]
<div>[% tprintf( updates_text, stats.updates ) | comma %]</div>
</div>
-
diff --git a/templates/web/default/header.html b/templates/web/default/header.html
index b2bfd27d7..7d9a7fbd9 100644
--- a/templates/web/default/header.html
+++ b/templates/web/default/header.html
@@ -1,12 +1,19 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="[% lang_code %]">
+<!doctype html>
+<!--[if lt IE 7]><html class="ie6 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if IE 7]> <html class="ie7 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if IE 8]> <html class="ie8 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if gt IE 8]><!--><html lang="[% lang_code %]"><!--<![endif]-->
<head>
- <link rel="stylesheet" type="text/css" href="/css/core.css">
- <link rel="stylesheet" type="text/css" href="/css/main.css">
- <!--[if LT IE 7]>
- <link rel="stylesheet" type="text/css" href="/css/ie6.css">
- <![endif]-->
+ <meta name="viewport" content="initial-scale=1.0; target-densitydpi=device-dpi">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
+ <meta name="HandHeldFriendly" content="true">
+ <meta name="mobileoptimized" content="0">
+
+ <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
+ <link rel="stylesheet" type="text/css" href="[% version('/css/main.css') %]">
[% INCLUDE 'common_header_tags.html' %]
diff --git a/templates/web/default/index.html b/templates/web/default/index.html
index 131701b0e..96f5c33de 100644
--- a/templates/web/default/index.html
+++ b/templates/web/default/index.html
@@ -29,12 +29,12 @@
<form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm">
<label for="pc">[% question %]:</label>
- &nbsp;<input type="text" name="pc" value="" id="pc" size="10" maxlength="200">
- &nbsp;<input type="submit" value="[% loc('Go') %]" id="submit">
+ <span><input type="text" name="pc" value="" id="pc" size="10" maxlength="200">
+ <input type="submit" value="[% loc('Go') %]" id="submit">
+ </span>
[% c.cobrand.form_elements('postcodeForm') %]
</form>
-
<div id="front_intro">
<h2>[% loc('How to report a problem') %]</h2>
@@ -59,22 +59,24 @@
[% IF probs.size || recent_photos.size %]
<div id="front_recent">
+ <h2>[% loc('Recently reported problems') %]</h2>
[% IF recent_photos.size %]
- <h2>[% loc('Photos of recent reports') %]</h2>
+ <p id="front_photos">
[% FOREACH p IN recent_photos %]
<a href="/report/[% p.id %]"><img border="0" height="100"
src="/photo?tn=1;id=[% p.id %]" alt="[% p.title | html %]" title="[% p.title | html %]"></a>
[% END %]
+ </p>
[% END %]
[% IF probs.size %]
- <h2>[% loc('Recently reported problems') %]</h2>
- <ul>
+ <ul id="nearby_lists">
[% FOREACH p IN probs %]
<li>
<a href="/report/[% p.id %]">[% p.title | html %]</a>
+ <small>[% prettify_epoch( p.confirmed_local.epoch, 1 ) %]</small>
</li>
[% END %]
</ul>
diff --git a/templates/web/default/maps/bing.html b/templates/web/default/maps/bing.html
index 6b7114199..277886cdb 100644
--- a/templates/web/default/maps/bing.html
+++ b/templates/web/default/maps/bing.html
@@ -1,6 +1,6 @@
[% map_js = BLOCK %]
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=en-GB"></script>
-<script type="text/javascript" src="/js/map-bing.js"></script>
+<script type="text/javascript" src="[% version('/js/map-bing.js') %]"></script>
[% END %]
[% map_html = BLOCK %]
diff --git a/templates/web/default/maps/fms.html b/templates/web/default/maps/fms.html
index 2b322849b..956a22e69 100644
--- a/templates/web/default/maps/fms.html
+++ b/templates/web/default/maps/fms.html
@@ -1,9 +1,9 @@
[% map_js = BLOCK %]
<!-- <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=en-GB"></script> -->
-<script type="text/javascript" src="/js/OpenLayers.fixmystreet.js"></script>
-<script type="text/javascript" src="/js/map-OpenLayers.js"></script>
-<script type="text/javascript" src="/js/map-bing-ol.js"></script>
-<script type="text/javascript" src="/js/jquery.ba-hashchange.min.js"></script>
+<script type="text/javascript" src="[% version('/js/OpenLayers.fixmystreet.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/map-bing-ol.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script>
<!--[if lte IE 6]>
<link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" />
<![endif]-->
diff --git a/templates/web/default/maps/google.html b/templates/web/default/maps/google.html
index 2e326734b..69020ea81 100644
--- a/templates/web/default/maps/google.html
+++ b/templates/web/default/maps/google.html
@@ -1,6 +1,6 @@
[% map_js = BLOCK %]
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
-<script type="text/javascript" src="/js/map-google.js"></script>
+<script type="text/javascript" src="[% version('/js/map-google.js') %]"></script>
[% END %]
[% map_html = BLOCK %]
diff --git a/templates/web/default/maps/osm-streetview.html b/templates/web/default/maps/osm-streetview.html
index fd889e6ee..3bc4614c6 100644
--- a/templates/web/default/maps/osm-streetview.html
+++ b/templates/web/default/maps/osm-streetview.html
@@ -1,8 +1,8 @@
[% map_js = BLOCK %]
-<script type="text/javascript" src="/js/OpenLayers.fixmystreet.js"></script>
-<script type="text/javascript" src="/js/map-OpenLayers.js"></script>
-<script type="text/javascript" src="/js/map-streetview.js"></script>
-<script type="text/javascript" src="/js/jquery.ba-hashchange.min.js"></script>
+<script type="text/javascript" src="[% version('/js/OpenLayers.fixmystreet.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/map-streetview.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script>
<!--[if lte IE 6]>
<link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" />
<![endif]-->
diff --git a/templates/web/default/maps/osm.html b/templates/web/default/maps/osm.html
index f583dd227..804710ad1 100644
--- a/templates/web/default/maps/osm.html
+++ b/templates/web/default/maps/osm.html
@@ -1,8 +1,8 @@
[% map_js = BLOCK %]
-<script type="text/javascript" src="/js/OpenLayers.fixmystreet.js"></script>
-<script type="text/javascript" src="/js/map-OpenLayers.js"></script>
-<script type="text/javascript" src="/js/map-OpenStreetMap.js"></script>
-<script type="text/javascript" src="/js/jquery.ba-hashchange.min.js"></script>
+<script type="text/javascript" src="[% version('/js/OpenLayers.fixmystreet.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/map-OpenLayers.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/map-OpenStreetMap.js') %]"></script>
+<script type="text/javascript" src="[% version('/js/jquery.ba-hashchange.min.js') %]"></script>
<!--[if lte IE 6]>
<link rel="stylesheet" href="/jslib/OpenLayers-2.10/theme/default/ie6-style.css" type="text/css" />
<![endif]-->
diff --git a/templates/web/emptyhomes/header.html b/templates/web/emptyhomes/header.html
index 017d3a6f5..d1198eada 100644
--- a/templates/web/emptyhomes/header.html
+++ b/templates/web/emptyhomes/header.html
@@ -1,14 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="[% lang_code %]">
+<!doctype html>
+<!--[if lt IE 7]><html class="ie6 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if IE 7]> <html class="ie7 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if IE 8]> <html class="ie8 oldie" lang="[% lang_code %]"><![endif]-->
+<!--[if gt IE 8]><!--><html lang="[% lang_code %]"><!--<![endif]-->
<head>
- <link rel="stylesheet" type="text/css" href="/css/core.css">
+ <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
<link rel="stylesheet" type="text/css" href="/cobrands/emptyhomes/css.css">
- <!--[if LT IE 7]>
- <link rel="stylesheet" type="text/css" href="/css/ie6.css">
- <![endif]-->
-
-[% INCLUDE 'common_header_tags.html' %]
+ [% INCLUDE 'common_header_tags.html' %]
</head>
<body>
diff --git a/templates/web/fiksgatami/footer.html b/templates/web/fiksgatami/footer.html
index 173963ff8..986db3967 100644
--- a/templates/web/fiksgatami/footer.html
+++ b/templates/web/fiksgatami/footer.html
@@ -3,6 +3,7 @@
<h2 class="v">[% loc('Navigation') %]</h2>
<ul id="navigation">
<li><a href="/">[% loc("Report a problem") %]</a></li>
+<li id="nav_new"><a href="/my">[% loc("Your reports") %]</a></li>
<li><a href="/reports">[% loc("All reports") %]</a></li>
<li><a href="[% c.uri_for('/alert', {pc => pc}) | html %]">[% loc("Local alerts") %]</a></li>
<li><a href="/faq">[% loc("Help") %]</a></li>
diff --git a/templates/web/fiksgatami/header.html b/templates/web/fiksgatami/header.html
index 44ebb7ee7..0e78bfc43 100644
--- a/templates/web/fiksgatami/header.html
+++ b/templates/web/fiksgatami/header.html
@@ -2,8 +2,8 @@
<html lang="[% lang_code %]">
<head>
- <link rel="stylesheet" type="text/css" href="/css/core.css">
- <link rel="stylesheet" type="text/css" href="/cobrands/fiksgatami/css.css">
+ <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
+ <link rel="stylesheet" type="text/css" href="[% version('/cobrands/fiksgatami/css.css') %]">
[% INCLUDE 'common_header_tags.html' %]
</head>
diff --git a/templates/web/lichfielddc/header.html b/templates/web/lichfielddc/header.html
index e134cd6f9..e17e22b9d 100644
--- a/templates/web/lichfielddc/header.html
+++ b/templates/web/lichfielddc/header.html
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="[% lang_code %]">
<head>
- <link rel="stylesheet" type="text/css" href="/css/core.css" />
+ <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
<link rel="stylesheet" type="text/css" href="/cobrands/lichfielddc/css/layout.css" />
<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/standard_1_.css" media="screen" />
diff --git a/templates/web/southampton/header.html b/templates/web/southampton/header.html
index 049034252..648027d8c 100644
--- a/templates/web/southampton/header.html
+++ b/templates/web/southampton/header.html
@@ -1,12 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <link rel="stylesheet" type="text/css" href="/css/core.css" />
+ <link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
<link rel="stylesheet" type="text/css" href="/cobrands/southampton/style.css" />
- <link rel="stylesheet" type="text/css" href="/cobrands/southampton/css.css" />
+ <link rel="stylesheet" type="text/css" href="[% version('/cobrands/southampton/css.css') %]" />
[% INCLUDE 'common_header_tags.html' %]
- <script type="text/javascript" src="/js/southampton.js"></script>
+ <script type="text/javascript" src="[% version('/js/southampton.js') %]"></script>
</head>
<body>