File tree 2 files changed +6
-6
lines changed
share/jupyter/voila/templates
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 52
52
{% block body %}
53
53
< div class ="list-header ">
54
54
< div class ="list-header-text ">
55
- Select items to open with Voilà.
55
+ Select items to open with {{ " Voilà" if frontend == "voila" else frontend.capitalize() }} .
56
56
</ div >
57
57
</ div >
58
58
63
63
64
64
{% for content in contents.content %}
65
65
{% if content.type in ['notebook', 'file'] %}
66
- < li > < a href ="{{ base_url }}voila /render/{{ content.path }}?{{ query }} "> < i class ="fa fa-book "> </ i > {{content.name}}</ a > </ li >
66
+ < li > < a href ="{{ base_url }}{{ frontend }} /render/{{ content.path }}?{{ query }} "> < i class ="fa fa-book "> </ i > {{content.name}}</ a > </ li >
67
67
{% endif %}
68
68
{% if content.type == 'directory' %}
69
- < li > < a href ="{{ base_url }}voila /tree/{{ content.path }}?{{ query }} "> < i class ="fa fa-folder "> </ i > {{content.name}}</ a > </ li >
69
+ < li > < a href ="{{ base_url }}{{ frontend }} /tree/{{ content.path }}?{{ query }} "> < i class ="fa fa-folder "> </ i > {{content.name}}</ a > </ li >
70
70
{% endif %}
71
71
{% endfor %}
72
72
</ ul >
Original file line number Diff line number Diff line change 92
92
< div id ="voila-tree-main " {{mainStyle}} >
93
93
< div class ="list-header ">
94
94
< div class ="list-header-text ">
95
- Select items to open with Voilà.
95
+ Select items to open with {{ " Voilà" if frontend == "voila" else frontend.capitalize() }} .
96
96
</ div >
97
97
</ div >
98
98
103
103
104
104
{% for content in contents.content %}
105
105
{% if content.type in ['notebook', 'file'] %}
106
- < li > < a href ="{{ base_url }}voila /render/{{ content.path }}?{{ query }} " {{openInNewTab}} > < i class ="fa fa-book "> </ i > {{content.name}}</ a > </ li >
106
+ < li > < a href ="{{ base_url }}{{ frontend }} /render/{{ content.path }}?{{ query }} " {{openInNewTab}} > < i class ="fa fa-book "> </ i > {{content.name}}</ a > </ li >
107
107
{% endif %}
108
108
{% if content.type == 'directory' %}
109
- < li > < a href ="{{ base_url }}voila /tree/{{ content.path }}?{{ query }} "> < i class ="fa fa-folder "> </ i > {{content.name}}</ a > </ li >
109
+ < li > < a href ="{{ base_url }}{{ frontend }} /tree/{{ content.path }}?{{ query }} "> < i class ="fa fa-folder "> </ i > {{content.name}}</ a > </ li >
110
110
{% endif %}
111
111
{% endfor %}
112
112
</ ul >
You can’t perform that action at this time.
0 commit comments