Skip to content

Commit c386a70

Browse files
authored
Merge pull request #184 from datalayer-externals/revert/pr-168
Revert pull request 168
2 parents 99cb347 + 52a6637 commit c386a70

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

nbclassic/notebookapp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ def _prepare_templates(self):
195195
base_dir, 'nbclassic/i18n'), fallback=True)
196196
self.jinja2_env.install_gettext_translations(nbui, newstyle=False)
197197
self.jinja2_env.globals.update(nbclassic_path=nbclassic_path)
198-
self.jinja2_env.globals.update(nbclassic_tree=url_path_join(self.serverapp.base_url, nbclassic_path(), "tree"))
199198

200199
def _link_jupyter_server_extension(self, serverapp):
201200
# Monkey-patch Jupyter Server's and nbclassic's static path list to include

nbclassic/templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
<div id="header" role="navigation" aria-label="{% trans %}Top Menu{% endtrans %}">
140140
<div id="header-container" class="container">
141141
<div id="ipython_notebook" class="nav navbar-brand"><a href="
142-
{%- if nbclassic_tree|length > 0 -%}{{nbclassic_tree}}{%- else -%}{{default_url}}{%- endif -%}
142+
<div id="ipython_notebook" class="nav navbar-brand"><a href="{{default_url}}
143143
{%- if logged_in and token -%}?token={{token}}{%- endif -%}" title='{% trans %}dashboard{% endtrans %}'>
144144
{% block logo %}<img src='{{static_url("base/images/logo.png") }}' alt='Jupyter Notebook'/>{% endblock %}
145145
</a></div>

0 commit comments

Comments
 (0)