File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,6 @@ def _prepare_templates(self):
195
195
base_dir , 'nbclassic/i18n' ), fallback = True )
196
196
self .jinja2_env .install_gettext_translations (nbui , newstyle = False )
197
197
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" ))
199
198
200
199
def _link_jupyter_server_extension (self , serverapp ):
201
200
# Monkey-patch Jupyter Server's and nbclassic's static path list to include
Original file line number Diff line number Diff line change 139
139
< div id ="header " role ="navigation " aria-label ="{% trans %}Top Menu{% endtrans %} ">
140
140
< div id ="header-container " class ="container ">
141
141
< 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}}
143
143
{%- if logged_in and token -%}?token={{token}}{%- endif -%} " title ='{% trans %}dashboard{% endtrans %} '>
144
144
{% block logo %}< img src ='{{static_url("base/images/logo.png") }} ' alt ='Jupyter Notebook '/> {% endblock %}
145
145
</ a > </ div >
You can’t perform that action at this time.
0 commit comments