mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Merge pull request #132 from minrk/nb-version
fix notebook version in About
This commit is contained in:
commit
a6c5be5d60
@ -11,7 +11,7 @@ require([
|
|||||||
// use underscore template to auto html escape
|
// use underscore template to auto html escape
|
||||||
var text = 'You are using Jupyter notebook.<br/><br/>';
|
var text = 'You are using Jupyter notebook.<br/><br/>';
|
||||||
text = text + 'The version of the notebook server is ';
|
text = text + 'The version of the notebook server is ';
|
||||||
text = text + _.template('<b><%- version %></b>')({ version: sys_info.ipython_version });
|
text = text + _.template('<b><%- version %></b>')({ version: sys_info.notebook_version });
|
||||||
if (sys_info.commit_hash) {
|
if (sys_info.commit_hash) {
|
||||||
text = text + _.template('-<%- hash %>')({ hash: sys_info.commit_hash });
|
text = text + _.template('-<%- hash %>')({ hash: sys_info.commit_hash });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user