##// END OF EJS Templates
Another variation of the dashboard page title.
Brian E. Granger -
Show More
@@ -44,12 +44,11 b' class TreeHandler(IPythonHandler):'
44 if len(comps) > 3:
44 if len(comps) > 3:
45 for i in range(len(comps)-2):
45 for i in range(len(comps)-2):
46 comps.pop(0)
46 comps.pop(0)
47 comps.insert(0, '...')
48 page_title = url_escape(url_path_join(*comps))
47 page_title = url_escape(url_path_join(*comps))
49 if page_title:
48 if page_title:
50 return '/'+page_title+'/'
49 return page_title+'/'
51 else:
50 else:
52 return '/'
51 return 'Home'
53
52
54 @web.authenticated
53 @web.authenticated
55 def get(self, path='', name=None):
54 def get(self, path='', name=None):
General Comments 0
You need to be logged in to leave comments. Login now