{% extends "notebook/worksheet_page_template.html" %} {# INPUT: - worksheet - an instance of Worksheet - worksheet_filename - a string containing a worksheet's filename - username - a string containing a username - rev - this revision's key - prev_rev - the previous revision's key - next_rev - the next revision's key - time_ago - a string containing the time since revision - body_worksheet_html - the body html of the worksheet - JSMATH - a boolean stating whether to include jsMath - JSMATH_IMAGE_FONTS - a boolean stating whether to include jsMath iamage fonts - JEDITABLE_TINYMCE - a boolean stating whether to include jEditable and TinyMCE - sage_jsmath_macros - an array containing strings of Javascript of Sage macros for jsMath #} {% set select = "revisions" %} {% set title = "Revision from %s ago Revision List"|format(time_ago) %} {% macro actions %} {% if prev_rev %} Older {% else %} Oldest {% endif %} {% if next_rev %} Newer {% else %} Newest {% endif %} Revert to this one (note that images are not recorded) Publish this one {% endmacro %} {% block body_addition %} {{ actions() }}