diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-01-06 15:56:34 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-01-06 17:09:07 +0000 |
commit | 98c4305003a7fdd468822cd45a605dd935943f72 (patch) | |
tree | b0388c94393eeb1ff1744504ca09fab9c9247a2c /templates | |
parent | c46b06e6376e4e522604d3dbee94e215dca4955c (diff) |
[fixmystreet.com] Don't show app step if used app.
Fixes #1305.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/fixmystreet.com/next_steps.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/web/fixmystreet.com/next_steps.html b/templates/web/fixmystreet.com/next_steps.html index 5a26a67fe..2bfc23ddb 100644 --- a/templates/web/fixmystreet.com/next_steps.html +++ b/templates/web/fixmystreet.com/next_steps.html @@ -2,8 +2,10 @@ [% DEFAULT share_url = c.cobrand.base_url %] [% DEFAULT twitter_comment = 'I just used @fixmystreet, you should try it!' %] +[% SET app_step = 1 IF NOT report OR NOT report.service %] -<div class="next-steps"> +<div class="next-steps[% ' next-steps--two' IF NOT app_step %]"> + [% IF app_step %] <div class="next-steps__step next-steps__step--apps"> [% IF just_interacted %] <h2>[% loc('Next time, try our mobile app!') %]</h2> @@ -16,6 +18,7 @@ <a href="https://play.google.com/store/apps/details?id=org.mysociety.FixMyStreet"><img src="/cobrands/fixmystreet.com/images/next-step-google.png" alt="Android app on Google Play" width="120" height="37"></a> </p> </div> + [% END %] <div class="next-steps__step next-steps__step--social"> [% IF just_interacted %] <h2>[% loc('Great work. Now spread the word!') %]</h2> |