{% extends 'base.html' %} {% block title %}MarkWiki - {{ title }}{% endblock %} {% block content %}

Commit {{ commit }}

{{ content|safe }}
{% endblock %} {% block actions %} {# When freezing, do not display the links. #} {% if not config['FREEZING'] %}

Actions

View current version View all history Revert to this
{% endif %} {% endblock %} {% block onready %} $('#revert').click(function(event) { // Prevent the default so that the GET delete doesn't happen. event.preventDefault(); $('#revert_modal').modal('show'); }); $('#really_revert').click(function(event) { $('#revert_form').submit(); }); {% endblock %}