{% extends "html/base_authenticated.html" %} {# INPUT: - notebook - an instance of Notebook - worksheet - an instance of Worksheet - username - a string containing a username - title - a string - select - a string containing the control that is selected #} {% set system_names = worksheet.notebook().system_names() %} {% block title %}{{ worksheet.name() }}{% endblock %} {% block javascript %} {% if not worksheet.is_published() or worksheet.notebook().conf()['pub_interact'] %} {% elif worksheet.is_published() %} {% endif %} {% if MATHJAX %} {% endif %} {% if JEDITABLE_TINYMCE and not worksheet.docbrowser() and not worksheet.is_published() %} {% endif %} {% if worksheet.filename() %} {% endif %} {% endblock %} {% block main %} {% if notebook is defined and notebook.readonly_user(username) %}

{{ gettext('Account is read only. You may download or delete worksheets or data.') }}

{% endif %}
{{ worksheet.name() }}
{{ gettext('last edited') }} {{ worksheet.html_time_last_edited(username) | safe }}
{% if worksheet.warn_about_other_person_editing(username) and username != 'guest' and not worksheet.docbrowser() and not worksheet.is_published() %} ({{ gettext('Someone else is viewing this worksheet') }}) {% endif %}
{% if not worksheet.docbrowser() and not worksheet.is_published() %} {% endif %}
{% if not worksheet.is_published() %} {% if not worksheet.docbrowser() and not worksheet.is_published() %}  {{ gettext('Typeset') }} {% endif %} {% endif %}
{% if not worksheet.docbrowser() and not worksheet.is_published() %} {% macro cls(x) %} {{ "control-select" if x == select else "control" }} {% endmacro %} {{ gettext('Print') }} {{ gettext('Worksheet') }} {{ gettext('Edit') }} {{ gettext('Text') }} {{ gettext('Revisions') }} {{ gettext('Share') }} {{ gettext('Publish') }} {% endif %}
{% block worksheet_main %}{% endblock %} {% endblock %}