diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/bromley/index.html | 2 | ||||
-rw-r--r-- | templates/web/default/index.html | 2 | ||||
-rwxr-xr-x | templates/web/default/reports/council.html | 18 | ||||
-rw-r--r-- | templates/web/fixmystreet/index.html | 2 |
4 files changed, 19 insertions, 5 deletions
diff --git a/templates/web/bromley/index.html b/templates/web/bromley/index.html index 370ab3f75..4b95230df 100644 --- a/templates/web/bromley/index.html +++ b/templates/web/bromley/index.html @@ -68,7 +68,7 @@ kinds of problems like missed bins use our [% - recent_photos = c.cobrand.recent_photos(5); + recent_photos = c.cobrand.recent_photos('front', 5); %] [% IF recent_photos.size %] diff --git a/templates/web/default/index.html b/templates/web/default/index.html index e5f98b0c5..4d178d192 100644 --- a/templates/web/default/index.html +++ b/templates/web/default/index.html @@ -51,7 +51,7 @@ </div> [% - recent_photos = c.cobrand.recent_photos(3); + recent_photos = c.cobrand.recent_photos('front', 3); probs = c.cobrand.recent(); %] diff --git a/templates/web/default/reports/council.html b/templates/web/default/reports/council.html index 4eef35dec..d1c2241c7 100755 --- a/templates/web/default/reports/council.html +++ b/templates/web/default/reports/council.html @@ -75,9 +75,23 @@ Its area is now covered by <a href="/reports/Bedford">Bedford Borough Council</a [% ELSIF style == 'new' %] <div class="shadow-wrap"> <ul id="key-tools"[% IF NOT children.size %] class="singleton"[% END %]> - <li><a rel="nofollow" id="key-tool-updates-area" class="feed" href="[% rss_url %]">[% tprintf(loc('Get updates of problems in this %s'), thing) %]</a></li> + <li><a rel="nofollow" id="key-tool-updates-area" class="feed" href="[% rss_url %]">[% + IF c.cobrand.moniker == 'bromley' AND thing == 'council'; + 'Get updates of reports in Bromley'; + ELSIF c.cobrand.moniker == 'bromley'; + 'Get updates of reports in this ward'; + ELSE; + tprintf(loc('Get updates of problems in this %s'), thing); + END + %]</a></li> [% IF children.size %] - <li><a href="#council_wards" id="key-tool-wards" class="chevron">[% loc('Wards of this council') %]</a></li> + <li><a href="#council_wards" id="key-tool-wards" class="chevron">[% + IF c.cobrand.moniker == 'bromley'; + 'View reports by ward'; + ELSE; + loc('Wards of this council'); + END + %]</a></li> [% END %] </ul> </div> diff --git a/templates/web/fixmystreet/index.html b/templates/web/fixmystreet/index.html index 998a88469..42c60d051 100644 --- a/templates/web/fixmystreet/index.html +++ b/templates/web/fixmystreet/index.html @@ -65,7 +65,7 @@ Modernizr.load({ [% - recent_photos = c.cobrand.recent_photos(5); + recent_photos = c.cobrand.recent_photos('front', 5); %] [% IF recent_photos.size %] |