Commits

Olemis Lang committed 8eb693c

BH Dashboard #502 : Using [metanav] 'tickets.label' option to configure dashboard tickets label

  • Participants
  • Parent commits 3459851
  • Branches t502_dashboard_mainnav_config

Comments (0)

Files changed (2)

+t502/t502_r1467339_dashboard_mainnav_config.diff

File t502/t502_r1467339_dashboard_mainnav_config.diff

+# HG changeset patch
+# Parent 122dbc25a3dd70bd3d80b2140a51899042296883
+BH Dashboard #502 : Reuse [mainnav] options if available
+
+diff -r 122dbc25a3dd bloodhound_dashboard/bhdashboard/web_ui.py
+--- a/bloodhound_dashboard/bhdashboard/web_ui.py	Fri Apr 12 16:33:52 2013 +0000
++++ b/bloodhound_dashboard/bhdashboard/web_ui.py	Mon Apr 15 14:41:49 2013 -0500
+@@ -55,7 +55,7 @@
+     implements(IRequestHandler, IRequestFilter, INavigationContributor, \
+                 ITemplateProvider)
+ 
+-    mainnav_label = Option('dashboard', 'mainnav', 'Tickets', \
++    mainnav_label = Option('mainnav', 'tickets.label', 'Tickets', \
+                             """Dashboard label in mainnav""")
+     default_widget_height = IntOption('widgets', 'default_height', 320, \
+                             """Default widget height in pixels""")