{% 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
- url - a string containing the url of the published page
- time - a string representing the time of publication
- 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 checked = 'checked="true"' if worksheet.is_auto_publish() else '' %}
{% set title = 'Worksheet is publicly viewable at %s Published on %s
Automatically re-publish when changes are made'|format(url, url, time, checked) %}
{% set select = "publish" %}
{% set backwards = true %}