[sagenb] 41/157: Fix a.control-select bug in div#share-publish-buttons for Worksheet and Revisions

felix salfelder felix-guest at moszumanska.debian.org
Mon Dec 22 16:51:47 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 9c317edfcf971669d28a112998b907b3e8331bd0
Author: J. Miguel Farto <jmfarto at eii.uva.es>
Date:   Sun Feb 17 15:55:38 2013 +0100

    Fix a.control-select bug in div#share-publish-buttons for Worksheet and Revisions
---
 sagenb/data/sage/html/notebook/base.html           | 2 +-
 sagenb/data/sage/html/notebook/worksheet_page.html | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sagenb/data/sage/html/notebook/base.html b/sagenb/data/sage/html/notebook/base.html
index 8e0c6bc..a6eb56c 100644
--- a/sagenb/data/sage/html/notebook/base.html
+++ b/sagenb/data/sage/html/notebook/base.html
@@ -152,7 +152,7 @@ INPUT:
         <a class="{{ cls('use') }}" title="{{ gettext('Interactively use this worksheet') }}" href="./">{{ gettext('Worksheet') }}</a>        
         <a class="{{ cls('edit') }}" title="{{ gettext('Edit text version of this worksheet') }}" href="edit">{{ gettext('Edit') }}</a>
         <a class="{{ cls('text') }}" title="{{ gettext('View plain text version of this worksheet') }}" href="text">{{ gettext('Text') }}</a>
-        <a class="{{ cls('undo') }}" title="{{ gettext('View changes to this worksheet over time') }}" href="revisions">{{ gettext('Revisions') }}</a>
+        <a class="{{ cls('revisions') }}" title="{{ gettext('View changes to this worksheet over time') }}" href="revisions">{{ gettext('Revisions') }}</a>
         <a class="{{ cls('share') }}" title="{{ gettext('Let others edit this worksheet') }}" href="share">{{ gettext('Share') }}</a>
         <a class="{{ cls('publish') }}" title="{{ gettext('Make this worksheet publicly viewable') }}" href="publish">{{ gettext('Publish') }}</a>
         {% endif %}
diff --git a/sagenb/data/sage/html/notebook/worksheet_page.html b/sagenb/data/sage/html/notebook/worksheet_page.html
index cef89a6..cfe2a33 100644
--- a/sagenb/data/sage/html/notebook/worksheet_page.html
+++ b/sagenb/data/sage/html/notebook/worksheet_page.html
@@ -9,6 +9,8 @@ INPUT:
 {% block page_id %}user-worksheet-page{% endblock %}
 {% block body_classes %}active-worksheet{% endblock %}
  
+{% set select = "use" %}
+
 {% block worksheet_main %}
 {% set toggle=true %}
 <div class="worksheet" id="worksheet">

-- 
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