diff options
Diffstat (limited to 'templates/web/default')
-rwxr-xr-x | templates/web/default/around/display_location.html | 6 | ||||
-rw-r--r-- | templates/web/default/front/stats.html | 2 | ||||
-rw-r--r-- | templates/web/default/report/display.html | 13 |
3 files changed, 15 insertions, 6 deletions
diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html index d50009299..a9f18b9bd 100755 --- a/templates/web/default/around/display_location.html +++ b/templates/web/default/around/display_location.html @@ -29,9 +29,9 @@ PROCESS "maps/${map.type}.html"; + SET rss = [ loc('Recent local problems, FixMyStreet'), rss_url ] IF c.cobrand.moniker != 'emptyhomes'; INCLUDE 'header.html', title => loc('Viewing a location') - rss => [ loc('Recent local problems, FixMyStreet'), rss_url ], bodyclass => 'mappage', robots => 'noindex,nofollow'; @@ -51,6 +51,7 @@ [% map_html %] + [% IF c.cobrand.moniker != 'emptyhomes' %] <p id='sub_map_links'> [% IF c.req.params.no_pins %] <a id='hide_pins_link' rel='nofollow' href='[% c.uri_with( { no_pins => 0 } ) %]'>[% loc('Show pins') %]</a> @@ -66,6 +67,7 @@ [% END %] [% END %] </p> + [% END %] </div> @@ -79,11 +81,13 @@ [% TRY %][% INCLUDE 'around/extra_text.html' %][% CATCH file %][% END %] [% END %] + [% IF c.cobrand.moniker != 'emptyhomes' %] [% INCLUDE 'around/_updates.html' %] <section class="full-width"> [% INCLUDE "around/tabbed_lists.html" %] </section> + [% END %] </div> [% IF allow_creation %] diff --git a/templates/web/default/front/stats.html b/templates/web/default/front/stats.html index c5d931d08..fd1f253bc 100644 --- a/templates/web/default/front/stats.html +++ b/templates/web/default/front/stats.html @@ -38,6 +38,6 @@ <div>[% tprintf( new_text, stats.new ) | comma %]</div> [% IF c.cobrand.moniker != 'emptyhomes' %] <div>[% tprintf( fixed_text, stats.fixed ) | comma %]</div> - [% END %] <div>[% tprintf( updates_text, stats.updates ) | comma %]</div> + [% END %] </div> diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html index 18b4bf51a..2ade45a8a 100644 --- a/templates/web/default/report/display.html +++ b/templates/web/default/report/display.html @@ -2,15 +2,18 @@ PROCESS "maps/${map.type}.html"; problem_title = problem.title _ ' - ' _ loc('Viewing a problem'); + SET rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ] IF c.cobrand.moniker != 'emptyhomes'; + SET robots = 'index, nofollow'; + SET robots = 'noindex, nofollow' IF c.cobrand.moniker == 'emptyhomes'; INCLUDE 'header.html' title = problem_title - rss = [ loc('Updates to this problem, FixMyStreet'), "/rss/$problem.id" ] - robots = 'index, nofollow' %] -[% map_html %] +[% IF c.cobrand.moniker != 'emptyhomes' %] + [% map_html %] + </div> +[% END %] -</div> <div id="side"> [% INCLUDE 'report/banner.html' %] @@ -22,6 +25,7 @@ </small> </p> +[% IF c.cobrand.moniker != 'emptyhomes' %] <p style="padding-bottom: 0.5em; border-bottom: dotted 1px #999999;" align="right"> <a href="[% c.uri_for( '/around', { lat => short_latitude, lon => short_longitude } ) %]">[% loc( 'More problems nearby' ) %]</a> </p> @@ -45,6 +49,7 @@ [% INCLUDE 'report/updates.html' %] [% INCLUDE 'report/update-form.html' %] +[% END %] </div> |