temlates: make usage of plugin_ini safer in error pages.
marcink -
r4287:22479205 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -2,7 +2,7
2
2
3 <script>
3 <script>
4 var CHANNELSTREAM_URLS = ${config['url_gen'](request)|n};
4 var CHANNELSTREAM_URLS = ${config['url_gen'](request)|n};
5 %if request.registry.rhodecode_plugins['channelstream']['enabled'] and c.rhodecode_user.username != h.DEFAULT_USER:
5 %if request.registry.rhodecode_plugins['channelstream']['enabled'] and getattr(c.rhodecode_user, 'username', '') != h.DEFAULT_USER:
6 var CHANNELSTREAM_SETTINGS = {
6 var CHANNELSTREAM_SETTINGS = {
7 'enabled': true,
7 'enabled': true,
8 'ws_location': '${request.registry.settings.get('channelstream.ws_url')}',
8 'ws_location': '${request.registry.settings.get('channelstream.ws_url')}',
Comments 0
You need to be logged in to leave comments. Login now