Show More
@@ -156,10 +156,6 b' class IPythonHandler(AuthenticatedHandler):' | |||
|
156 | 156 | def kernel_spec_manager(self): |
|
157 | 157 | return self.settings['kernel_spec_manager'] |
|
158 | 158 | |
|
159 | @property | |
|
160 | def project_dir(self): | |
|
161 | return getattr(self.contents_manager, 'root_dir', '/') | |
|
162 | ||
|
163 | 159 | #--------------------------------------------------------------- |
|
164 | 160 | # CORS |
|
165 | 161 | #--------------------------------------------------------------- |
@@ -31,7 +31,6 b' class NotebookHandler(IPythonHandler):' | |||
|
31 | 31 | name = url_escape(name) |
|
32 | 32 | path = url_escape(path) |
|
33 | 33 | self.write(self.render_template('notebook.html', |
|
34 | project=self.project_dir, | |
|
35 | 34 | notebook_path=path, |
|
36 | 35 | notebook_name=name, |
|
37 | 36 | kill_kernel=False, |
@@ -10,7 +10,6 b'' | |||
|
10 | 10 | |
|
11 | 11 | {% block params %} |
|
12 | 12 | |
|
13 | data-project="{{project}}" | |
|
14 | 13 | data-base-url="{{base_url}}" |
|
15 | 14 | data-notebook-path="{{notebook_path}}" |
|
16 | 15 |
@@ -53,7 +53,6 b' class TreeHandler(IPythonHandler):' | |||
|
53 | 53 | breadcrumbs = self.generate_breadcrumbs(path) |
|
54 | 54 | page_title = self.generate_page_title(path) |
|
55 | 55 | self.write(self.render_template('tree.html', |
|
56 | project=self.project_dir, | |
|
57 | 56 | page_title=page_title, |
|
58 | 57 | notebook_path=path, |
|
59 | 58 | breadcrumbs=breadcrumbs |
General Comments 0
You need to be logged in to leave comments.
Login now