/usr/lib/python2.7/dist-packages/sagenb/data/sage/html/notebook/specific_revision.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 28 29 30 31 32 33 34 35 36 37 38 | {% extends "html/notebook/base_aux.html" %}
{% set select = "revisions" %}
{% block sharebar_title %}
{{ gettext('Revision from %(ta)s ago', ta=time_ago) }} <a href='revisions'>{{ gettext('Revision List') }}</a>
{% endblock %}
{% block page_id %}specific-revision-page{% endblock %}
{% macro actions() %}
{% if prev_rev %}
<a class="listcontrol" href="revisions?rev={{ prev_rev }}">{{ gettext('Older') }}</a>
{% else %}
{{ gettext('Oldest') }}
{% endif %}
{% if next_rev %}
<a class="listcontrol" href="revisions?rev={{ next_rev }}">{{ gettext('Newer') }}</a>
{% else %}
{{ gettext('Newest') }}
{% endif %}
<a class="listcontrol" href="revisions?rev={{ rev }}&action=revert">{{ gettext('Revert to this one') }}</a> <span class="lastedit">{{ gettext('(note that images are not recorded)') }}</span>
<a class="listcontrol" href="revisions?rev={{ rev }}&action=publish">{{ gettext('Publish this one') }}</a>
{% endmacro %}
{% block after_sharebar %}
{{ actions() }}
<div id="revision-data">
{{ worksheet.html(do_print=true, publish=true, username=username) | safe }}
</div>
{{ actions() }}
<!--<script type="text/javascript">
$(document).ready(function () {
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
});
</script>-->
{% endblock %}
|