[sagenb] 69/157: version number in help

felix salfelder felix-guest at moszumanska.debian.org
Mon Dec 22 16:51:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository sagenb.

commit cfdcbfb8721dbdd95be803514d357d1b46d8b68d
Author: J. Miguel Farto <migeruhito at gmail.com>
Date:   Wed Sep 17 20:57:15 2014 +0200

    version number in help
---
 sagenb/flask_version/base.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sagenb/flask_version/base.py b/sagenb/flask_version/base.py
index 1a52745..6771c21 100755
--- a/sagenb/flask_version/base.py
+++ b/sagenb/flask_version/base.py
@@ -191,7 +191,8 @@ def main_css():
 @login_required
 def help():
     from sagenb.notebook.tutorial import notebook_help
-    return render_template(os.path.join('html', 'docs.html'), username = g.username, notebook_help = notebook_help)
+    from sagenb.misc.misc import SAGE_VERSION
+    return render_template(os.path.join('html', 'docs.html'), username = g.username, notebook_help = notebook_help, sage_version=SAGE_VERSION)
 
 ###########
 # History #

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git



More information about the debian-science-commits mailing list