changeset 4199:7436b88cbd89 kallithea-2.2.5-rebrand

Rename rhodecode_instanceid to instance_id
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:05:21 -0400
parents a540f7e69c82
children 102ae2d847cb
files kallithea/lib/base.py kallithea/templates/base/base.html
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/base.py	Wed Jul 02 19:05:15 2014 -0400
+++ b/kallithea/lib/base.py	Wed Jul 02 19:05:21 2014 -0400
@@ -307,7 +307,7 @@
         c.visual.allow_repo_location_change = str2bool(config.get('allow_repo_location_change', True))
         c.visual.allow_custom_hooks_settings = str2bool(config.get('allow_custom_hooks_settings', True))
 
-        c.rhodecode_instanceid = config.get('instance_id')
+        c.instance_id = config.get('instance_id')
         c.issues_url = config.get('bugtracker', url('issues_url'))
         # END CONFIG VARS
 
--- a/kallithea/templates/base/base.html	Wed Jul 02 19:05:15 2014 -0400
+++ b/kallithea/templates/base/base.html	Wed Jul 02 19:05:21 2014 -0400
@@ -34,7 +34,7 @@
    <div id="footer-inner" class="title">
        <div>
            <p class="footer-link">
-               ${_('Server instance: %s') % c.rhodecode_instanceid if c.rhodecode_instanceid else ''}
+               ${_('Server instance: %s') % c.instance_id if c.instance_id else ''}
            </p>
            <p class="footer-link-right">
                This site is powered by