Changeset - 64e2d5a291a7
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 10 years ago 2016-03-14 22:12:28
thomas.de.schampheleire@gmail.com
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.
1 file changed with 7 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/settings/settings_global.html
Show inline comments
 
@@ -24,11 +24,16 @@ ${h.form(url('admin_settings_global'), m
 

	
 
            <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>
 

	
0 comments (0 inline, 0 general)