{% 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 - other_users - a list of strings containing other users names - user_is_admin - a boolean stating whether the user is an admin - 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 title = "Share this document" %} {% set select = "share" %} {% block body_addition %} {% if not (user_is_admin or username == worksheet.owner()) %} Only the owner of a worksheet is allowed to share it. You can do whatever you want if you make your own copy. {% else %}

This Sage Worksheet is currently shared with the people listed in the box below.

You may add or remove collaborators (separate user names by commas).


Sage Users: {{ other_users|join(', ') }} {% endif %} {% endblock %}