diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-17 22:09:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-17 22:09:22 +0100 |
commit | 4324fbc7a336b281e491c46bc665a965e852040e (patch) | |
tree | 667a9901fb0adfa791ddb21770d66924c9bc4afc /templates/web/default/index.html | |
parent | 76b34e2176dc9b02259c62209c6c23a8a7e69c23 (diff) |
Implement Fiksgatami's norwegian_frontpage branch in Catalyst templates.
Diffstat (limited to 'templates/web/default/index.html')
-rw-r--r-- | templates/web/default/index.html | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/templates/web/default/index.html b/templates/web/default/index.html index ec07e2e91..4443e060f 100644 --- a/templates/web/default/index.html +++ b/templates/web/default/index.html @@ -19,21 +19,7 @@ [% END %] </p> - -[% # --- insert iPhone details, not converted from old cgi script yet - # - # if (my $url = mySociety::Config::get('IPHONE_URL')) { - # my $getiphone = _("Get FixMyStreet on your iPhone"); - # my $new = _("New!"); - # if ($q->{site} eq 'fixmystreet') { - # $out .= <<EOF - # <p align="center" style="margin-bottom:0"> - # <img width="23" height="12" alt="$new" src="/i/new.png" border="0"> - # <a href="$url">$getiphone</a> - # </p> - # EOF - # } -%] +[% TRY %][% INCLUDE 'front/news.html' %][% CATCH file %][% END %] [% question @@ -60,7 +46,8 @@ <li>[% loc('We send it to the council on your behalf') %]</li> </ol> - [% INCLUDE "front_stats.html" %] + [% INCLUDE "front/stats.html" %] + [% TRY %][% INCLUDE "front/tips.html" %][% CATCH file %][% END %] </div> |