aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-02-06 12:07:41 +0000
committerLouise Crow <louise.crow@gmail.com>2015-02-06 14:16:14 +0000
commit768cd16d15ccb555bf0e20d755f2f35942ff6c70 (patch)
tree3c527a28bf3ade66e8cb71f12c69877d14c9e3db /docs
parent3177c0d53170574b26987dc3fd1e11dd76bed89e (diff)
Info on how to replace help pages.
Diffstat (limited to 'docs')
-rw-r--r--docs/customising/themes.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/customising/themes.md b/docs/customising/themes.md
index cf53aeaee..d5fa9c816 100644
--- a/docs/customising/themes.md
+++ b/docs/customising/themes.md
@@ -198,6 +198,15 @@ your jurisdiction. The important pages to customise and translate are:
* [unhappy](https://github.com/mysociety/alaveteli/blob/master/app/views/help/unhappy.html.erb): users are taken to this page after a request that has been somehow unsuccessful (e.g. the request has been refused, or the authority is insisting on a postal request). The page should encourage them to keep going, e.g. by starting a new request or addressing it to a different body.
* [why email](https://github.com/mysociety/alaveteli/blob/master/app/views/help/_why_they_should_reply_by_email.html.erb): a snippet of information that explains why users should insist on replies by email. This is displayed next to requests that have "gone postal".
+You can add your own help pages to your site by replacing the default
+pages in your theme with your own versions, using a locale suffix for
+each page to indicate what language the page is written in. No locale
+suffix is needed for pages written for the [default locale]({{ site.baseurl }}docs/customising/config/#default_locale) for the site.
+For example, [alavetelitheme contains help
+pages](https://github.com/mysociety/alavetelitheme/tree/master/lib/views/help)
+for the default 'en' locale and an example Spanish 'about' page.
+
+
## Adding new pages in the navigation
`alavetelitheme/lib/config/custom-routes.rb` allows you to extend the base routes in