Ticket #1892: sage-1892.patch

File sage-1892.patch, 1.0 KB (added by was, 11 years ago)
  • sage/server/notebook/notebook.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1210486751 25200
    # Node ID b457320c962f891261a575d3497de1bb6a417b1f
    # Parent  5886085a5d53cf2d385a2b7418b0490c9c35aaee
    trac #1892: notebook -- uploading a data file should give some help about the DATA variable
    
    diff -r 5886085a5d53 -r b457320c962f sage/server/notebook/notebook.py
    a b class Notebook(SageObject): 
    15651565        body += ' or create a linked copy to the worksheet %s,'%ws_form
    15661566        body += ' or <a href="/home/%s/datafile?name=%s&action=delete">delete %s.</a>'%(ws.filename(),filename, filename)
    15671567
     1568        body += "<br><br>Access %s in this worksheet by typing <tt>DATA+'%s'</tt>.  Here DATA is a special variable that gives the exact path to all data files uploaded to this worksheet.<br><br>"%(filename, filename)
    15681569       
    15691570        body += '<hr class="usercontrol">'
    15701571        ext = os.path.splitext(filename)[1].lower()