From 8039f82db5958a314aa64c1f28ff86d0c2dace85 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Tue, 28 Jul 2015 16:37:26 +0100 Subject: Use CONFIG.APP_NAME in templates instead of hardcoded 'FixMyStreet' --- templates/around.html | 2 +- templates/submit.html | 2 +- www/templates/en/around.html | 2 +- www/templates/en/help.html | 18 +++++++++--------- www/templates/en/initial_help.html | 2 +- www/templates/en/submit.html | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/around.html b/templates/around.html index 6fb6ca9..6419d6c 100644 --- a/templates/around.html +++ b/templates/around.html @@ -3,7 +3,7 @@ [% loc('Drafts') %] <% print( FMS.allDrafts.length ) %> [% loc('Cancel') %] -

FixMyStreet

+

<% print( CONFIG.APP_NAME ) %>

[% loc('Account') %] diff --git a/templates/submit.html b/templates/submit.html index a36d1e2..a3b1c73 100644 --- a/templates/submit.html +++ b/templates/submit.html @@ -38,7 +38,7 @@
-

Do you have a FixMyStreet password?

+

Do you have a <% print( CONFIG.APP_NAME ) %> password?

diff --git a/www/templates/en/around.html b/www/templates/en/around.html index 47bc329..7c64fe5 100644 --- a/www/templates/en/around.html +++ b/www/templates/en/around.html @@ -3,7 +3,7 @@ Drafts <% print( FMS.allDrafts.length ) %> Cancel -

FixMyStreet

+

<% print( CONFIG.APP_NAME ) %>

Account
diff --git a/www/templates/en/help.html b/www/templates/en/help.html index f8bd8aa..3722544 100644 --- a/www/templates/en/help.html +++ b/www/templates/en/help.html @@ -1,7 +1,7 @@

Frequently Asked Questions

-
What is FixMyStreet?
-
FixMyStreet is a website and app to help people report local problems they’ve found to their council.
+
What is <% print( CONFIG.APP_NAME ) %>?
+
<% print( CONFIG.APP_NAME ) %> is a website and app to help people report local problems they’ve found to their council.
How do I use this app?
The app will attempt to locate you automatically but if it can't or you want to report @@ -28,23 +28,23 @@ next submitting a report. Please note that you have to click the link in the confirmation email to activate or change your password.
-
What sort of problems should I report with FixMyStreet?
-
FixMyStreet is primarily for reporting things which are +
What sort of problems should I report with <% print( CONFIG.APP_NAME ) %>?
+
<% print( CONFIG.APP_NAME ) %> is primarily for reporting things which are broken or dirty or damaged or dumped, and need fixing, cleaning or clearing.
-
What isn’t FixMyStreet for?
-
FixMyStreet is not a way of getting in touch with your council for all - issues – please use FixMyStreet only for problems such as the above.
+
What isn’t <% print( CONFIG.APP_NAME ) %> for?
+
<% print( CONFIG.APP_NAME ) %> is not a way of getting in touch with your council for all + issues – please use <% print( CONFIG.APP_NAME ) %> only for problems such as the above.
Is it free?
-
The site and app are free to use, yes. FixMyStreet is run +
The site and app are free to use, yes. <% print( CONFIG.APP_NAME ) %> is run by a registered charity, though, so if you want to make a contribution, please do. For more information see the website.
-
Who built FixMyStreet?
+
Who built <% print( CONFIG.APP_NAME ) %>?
The site and this app was built by mySociety.
Thanks to...
diff --git a/www/templates/en/initial_help.html b/www/templates/en/initial_help.html index 45b4961..7f684e6 100644 --- a/www/templates/en/initial_help.html +++ b/www/templates/en/initial_help.html @@ -1,4 +1,4 @@ -

Welcome to FixMyStreet

+

Welcome to <% print( CONFIG.APP_NAME ) %>

Using this app you can report common street problems, like potholes or broken street lights, to councils throughout the UK.

diff --git a/www/templates/en/submit.html b/www/templates/en/submit.html index a36d1e2..a3b1c73 100644 --- a/www/templates/en/submit.html +++ b/www/templates/en/submit.html @@ -38,7 +38,7 @@
-

Do you have a FixMyStreet password?

+

Do you have a <% print( CONFIG.APP_NAME ) %> password?

-- cgit v1.2.3