add webstats_tracking_code to configuration screen (closes foodcoops#311)
This commit is contained in:
parent
81d22e6077
commit
668ba1e5d6
3 changed files with 9 additions and 6 deletions
|
@ -3,3 +3,4 @@
|
||||||
= config_input form, :use_nick, as: :boolean
|
= config_input form, :use_nick, as: :boolean
|
||||||
= config_input form, :tolerance_is_costly, as: :boolean
|
= config_input form, :tolerance_is_costly, as: :boolean
|
||||||
= config_input form, :help_url, as: :url, input_html: {class: 'input-xlarge'}
|
= config_input form, :help_url, as: :url, input_html: {class: 'input-xlarge'}
|
||||||
|
= config_input form, :webstats_tracking_code, as: :text, input_html: {class: 'input-xxlarge', rows: 3}
|
||||||
|
|
|
@ -91,9 +91,14 @@ default: &defaults
|
||||||
# Page footer (html allowed). Default is a Foodsoft footer. Set to `blank` for no footer.
|
# Page footer (html allowed). Default is a Foodsoft footer. Set to `blank` for no footer.
|
||||||
#page_footer: <a href="http://www.foodcoop.test/">FC Test</a> is supported by <a href="http://www.hoster.test/">Hoster</a>.
|
#page_footer: <a href="http://www.foodcoop.test/">FC Test</a> is supported by <a href="http://www.hoster.test/">Hoster</a>.
|
||||||
|
|
||||||
# Custom css for the foodcoop
|
# Custom CSS for the foodcoop
|
||||||
#custom_css: 'body { background-color: #fcffba; }'
|
#custom_css: 'body { background-color: #fcffba; }'
|
||||||
|
|
||||||
|
# Uncomment to add tracking code for web statistics, e.g. for Piwik. (Added to bottom of page)
|
||||||
|
#webstats_tracking_code: |
|
||||||
|
# <!-- Piwik -->
|
||||||
|
# ......
|
||||||
|
|
||||||
# email address to be used as sender
|
# email address to be used as sender
|
||||||
email_sender: foodsoft@foodcoop.test
|
email_sender: foodsoft@foodcoop.test
|
||||||
|
|
||||||
|
@ -123,11 +128,6 @@ default: &defaults
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
socket: /opt/lampp/var/mysql/mysql.sock
|
socket: /opt/lampp/var/mysql/mysql.sock
|
||||||
|
|
||||||
# Uncomment to add tracking code for web statistics, e.g. piwik
|
|
||||||
#webstats_tracking_code: |
|
|
||||||
# <!-- Piwik -->
|
|
||||||
# ......
|
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
||||||
|
|
|
@ -468,6 +468,7 @@ en:
|
||||||
use_messages: Allow members to communicate with each other within Foodsoft.
|
use_messages: Allow members to communicate with each other within Foodsoft.
|
||||||
use_nick: Show and use nicknames instead of real names. When enabling this, please check that each user has a nickname.
|
use_nick: Show and use nicknames instead of real names. When enabling this, please check that each user has a nickname.
|
||||||
use_wiki: Enable editable wiki pages.
|
use_wiki: Enable editable wiki pages.
|
||||||
|
webstats_tracking_code: Tracking code for web analytics (like Piwik or Google analytics). Leave empty for no tracking.
|
||||||
keys:
|
keys:
|
||||||
applepear_url: Apple system help URL
|
applepear_url: Apple system help URL
|
||||||
contact:
|
contact:
|
||||||
|
@ -504,6 +505,7 @@ en:
|
||||||
use_messages: Enable messages
|
use_messages: Enable messages
|
||||||
use_nick: Use nicknames
|
use_nick: Use nicknames
|
||||||
use_wiki: Enable wiki
|
use_wiki: Enable wiki
|
||||||
|
webstats_tracking_code: Tracking code
|
||||||
tabs:
|
tabs:
|
||||||
foodcoop: Foodcoop
|
foodcoop: Foodcoop
|
||||||
language: Language
|
language: Language
|
||||||
|
|
Loading…
Reference in a new issue