/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/notebook/worksheet_share.html is in python-sagenb 1.0.1+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | {% extends "html/notebook/base_aux.html" %}
{#
INPUT:
- worksheet - an instance of Worksheet
- username - a string containing a username
- other_users - a list of strings containing other users names
#}
{% block sharebar_title %}
{{ gettext('Share this document') }}
{% endblock %}
{% set select = "share" %}
{% block after_sharebar %}
{% if not (notebook.user_manager().user_is_admin(username) or username == worksheet.owner()) %}
{{ gettext('Only the owner of a worksheet is allowed to share it. You can do whatever you want if you <a href="copy">make your own copy</a>.') }}
{% else %}
<p>{{ gettext('This Sage Worksheet is currently shared with the people listed in the box below.') }}</p>
<p style="margin-bottom:1em">{{ gettext('You may add or remove collaborators (separate user names by commas).') }}</p>
<form width=70% method="post" action="invite_collab" style="margin-bottom:1em">
<textarea name="collaborators" rows=5 cols=70 class="edit" id="collaborators" style="display:block; margin-bottom:1em;">{{ worksheet.collaborators()|join(', ') }}</textarea>
<input type="submit" title="{{ gettext('Give access to your worksheet to the above collaborators') }}" value="{{ gettext('Update Collaborators') }}" />
</form>
{% endif %}
{% endblock %}
|