diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2020-01-07 15:10:36 +0000 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2020-01-07 15:10:36 +0000 |
commit | cffacce503f6f34bbf362f1aae7c0218afbdee55 (patch) | |
tree | b139c7d857138b67c9e30e5083fd16f807f26041 /docs | |
parent | a1a3991dc1a8ff8199ab117f6c665323462a3ba3 (diff) |
STAGING_FLAGS option to hide the staging site banner
Allows you to hide the banner introduced in 1f43fc9.
Useful when you’re making front-end changes—especially on small
screens—and don’t want the banner getting in the way.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/customising/config.md | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/docs/customising/config.md b/docs/customising/config.md index f3a023b1b..ff994a25b 100644 --- a/docs/customising/config.md +++ b/docs/customising/config.md @@ -311,12 +311,23 @@ The following are all the configuration settings that you can change in `conf/ge <p> A variety of flags that change the behaviour of a site when <code><a href="#staging_site">STAGING_SITE</a></code> is <code>1</code>. - <code>send_reports</code> being set to 0 will + </p> + <p> + Setting <code>send_reports</code> to <code>0</code> will <a href="{{ "/customising/send_reports" | relative_url }}">send reports</a> to the reporter <em>instead of</em> the relevant body's - contact address; <code>skip_checks</code> will stop cobrands from + contact address. + </p> + <p> + Setting <code>skip_checks</code> to <code>1</code> will stop cobrands from performing some checks such as the map pin location being within their - covered area, which makes testing multiple cobrands much easier; + covered area, which makes testing multiple cobrands much easier. + </p> + <p> + Setting <code>hide_staging_banner</code> to <code>1</code> will hide the + red “Staging site” banner in the top left corner of the site. + </p> + <p> <code>enable_appcache</code> lets you say whether the appcache should be active or not. </p> @@ -336,6 +347,7 @@ The following are all the configuration settings that you can change in `conf/ge STAGING_FLAGS: send_reports: 0 skip_checks: 1 + hide_staging_banner: 1 enable_appcache: 0 </pre> </div> |