changeset 5778:64e2d5a291a7

settings: rescope 'Analytics HTML' option to generic HTML/JS/CSS customization Update the setting name 'Analytics HTML block' to better cover the fact that it can be used to make any HTML, JavaScript or CSS tweak.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Mon, 14 Mar 2016 22:12:28 +0100
parents 7e67883ee300
children 60f9840c8df1
files kallithea/templates/admin/settings/settings_global.html
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/settings/settings_global.html	Thu Mar 03 18:44:08 2016 +0100
+++ b/kallithea/templates/admin/settings/settings_global.html	Mon Mar 14 22:12:28 2016 +0100
@@ -24,11 +24,16 @@
 
             <div class="field">
                 <div class="label">
-                    <label for="ga_code">${_('Analytics HTML block')}:</label>
+                    <label for="ga_code">${_('HTML/JavaScript/CSS customization block')}:</label>
                 </div>
                 <div class="input">
                     ${h.textarea('ga_code', cols=80, rows=10)}
-                    <span class="help-block">${_('HTML with JavaScript for web analytics systems like Google Analytics or Piwik. This will be added at the bottom of every page.')}</span>
+                    <span class="help-block">${_('HTML (possibly with\
+                        JavaScript and/or CSS) that will be added to the bottom\
+                        of every page. This can be used for web analytics\
+                        systems like Google Analytics or Piwik, but also to\
+                        perform instance-specific customizations like adding a\
+                        project banner at the top of every page.')}</span>
                 </div>
             </div>