diff rhodecode/lib/base.py @ 2936:62e493c7f436 beta

Added lightweight dashboard option. ref #500
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 18 Oct 2012 20:16:00 +0200
parents 976e2b032650
children d439d408b415
line wrap: on
line diff
--- a/rhodecode/lib/base.py	Thu Oct 18 02:14:30 2012 +0200
+++ b/rhodecode/lib/base.py	Thu Oct 18 20:16:00 2012 +0200
@@ -245,6 +245,7 @@
         c.visual.show_public_icon = str2bool(config.get('rhodecode_show_public_icon'))
         c.visual.show_private_icon = str2bool(config.get('rhodecode_show_private_icon'))
         c.visual.stylify_metatags = str2bool(config.get('rhodecode_stylify_metatags'))
+        c.visual.lightweight_dashboard = str2bool(config.get('rhodecode_lightweight_dashboard'))
 
         c.repo_name = get_repo_slug(request)
         c.backends = BACKENDS.keys()