diff options
author | Struan Donald <struan@exo.org.uk> | 2012-08-10 12:09:32 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-08-10 12:09:32 +0100 |
commit | 5f419aa5574ed35c6fc326c472afea6d1ab591e7 (patch) | |
tree | 4f823848648de14ee2c5ab390674febbc85b8eb1 | |
parent | 5d869a3e3e72892752dca51cf5df09e7b758364c (diff) |
use templating rather than conditionals to include text
-rwxr-xr-x | templates/web/default/around/display_location.html | 8 | ||||
-rw-r--r-- | templates/web/lichfielddc/around/extra_text.html | 5 |
2 files changed, 6 insertions, 7 deletions
diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html index 95f082633..88f8b89ae 100755 --- a/templates/web/default/around/display_location.html +++ b/templates/web/default/around/display_location.html @@ -76,13 +76,7 @@ <span id="text_map_arrow"></span> </p> -[% IF c.cobrand.moniker == 'lichfielddc' %] -<p> -<strong> -This is primarily for reporting physical problems that can be fixed like graffiti, cleansing issues or road defects. To report other kinds of problems like missed bins use our <a href="http://www.lichfielddc.gov.uk/reportitother">online report it forms</a>. -</strong> -</p> -[% END %] +[% TRY %][% INCLUDE 'around/extra_text.html' %][% CATCH file %][% END %] <h1>[% loc('Problems in this area') %]</h1> diff --git a/templates/web/lichfielddc/around/extra_text.html b/templates/web/lichfielddc/around/extra_text.html new file mode 100644 index 000000000..7f3fa0dbf --- /dev/null +++ b/templates/web/lichfielddc/around/extra_text.html @@ -0,0 +1,5 @@ +<p> +<strong> +This is primarily for reporting physical problems that can be fixed like graffiti, cleansing issues or road defects. To report other kinds of problems like missed bins use our <a href="http://www.lichfielddc.gov.uk/reportitother">online report it forms</a>. +</strong> +</p> |