[sagenb] 127/157: Clarify when worksheets are re-published

felix salfelder felix-guest at moszumanska.debian.org
Mon Dec 22 16:52:00 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 d315a9d196d3251153f7cff6bcd2fcebb0ed13b9
Author: Karl-Dieter Crisman <kcrisman at gmail.com>
Date:   Thu Oct 23 16:50:44 2014 -0400

    Clarify when worksheets are re-published
---
 sagenb/data/sage/html/notebook/afterpublish_window.html  | 2 +-
 sagenb/data/sage/html/notebook/beforepublish_window.html | 2 +-
 sagenb/notebook/notebook.py                              | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sagenb/data/sage/html/notebook/afterpublish_window.html b/sagenb/data/sage/html/notebook/afterpublish_window.html
index ead4569..4f95c19 100644
--- a/sagenb/data/sage/html/notebook/afterpublish_window.html
+++ b/sagenb/data/sage/html/notebook/afterpublish_window.html
@@ -11,7 +11,7 @@
     <a href="publish?re"><button>{{ gettext('Re-publish worksheet') }}</button></a>
     <a onClick="parent.location+='?stop'"><button>{{ gettext('Stop publishing') }}</button></p></a>
 </div>
-<input type="checkbox" name="auto" {{ checked }} onchange="parent.location='?auto'"/> <label for="auto">{{ gettext('Automatically re-publish when changes are made') }}</label>
+<input type="checkbox" name="auto" {{ checked }} onchange="parent.location='?auto'"/> <label for="auto">{{ gettext('Automatically re-publish when changes are made and saved') }}</label>
 {% endblock %}
 {% set select = "publish" %}
 {% set backwards = true %}
diff --git a/sagenb/data/sage/html/notebook/beforepublish_window.html b/sagenb/data/sage/html/notebook/beforepublish_window.html
index 9dc8b97..910aa72 100644
--- a/sagenb/data/sage/html/notebook/beforepublish_window.html
+++ b/sagenb/data/sage/html/notebook/beforepublish_window.html
@@ -15,7 +15,7 @@
         <input type="button" value="{{ gettext('No') }}" onClick="parent.location='./'" />
     </div>
     <div>
-        <input type="checkbox" name="auto" /> <label for="auto"> {{ gettext('Automatically re-publish when changes are made') }}</label>
+        <input type="checkbox" name="auto" /> <label for="auto"> {{ gettext('Automatically re-publish when changes are made and saved') }}</label>
     </div>
 </form>
 {% endblock %}
diff --git a/sagenb/notebook/notebook.py b/sagenb/notebook/notebook.py
index b70cd91..368e507 100644
--- a/sagenb/notebook/notebook.py
+++ b/sagenb/notebook/notebook.py
@@ -1619,7 +1619,7 @@ class Notebook(object):
         <input type="hidden" name="yes" value="" />
         <input type="submit" value="Yes" style="margin-left:10px" />
         <input type="button" value="No" style="margin-left:5px" onClick="parent.location=\'../'"><br/><br/>
-        <input type="checkbox" name="auto" style="margin-left:13px" /> Automatically re-publish when changes are made
+        <input type="checkbox" name="auto" style="margin-left:13px" /> Automatically re-publish when changes are made and saved
         </form>
         """
         return template(os.path.join("html", "notebook", "beforepublish_window.html"),

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