If you continue, this wiki page says buh-bye forever. Are you sure
you want to do that?
{% endblock %}
{% block actions %}
{# When freezing, do not display the edit and delete links. #}
{% if not config['FREEZING'] %}
Actions
Edit
{# Home is special so don't allow it to be deleted. #}
{% if page_path != 'Home' %}
{# Allow users to get an error from the server if JavaScript is disabled. #}
Delete
{% endif %}
{% if git != None %}
History
{% endif %}
{% endif %}
{% endblock %}
{% block onready %}
$('#delete').click(function(event) {
// Prevent the default so that the GET delete doesn't happen.
event.preventDefault();
$('#delete_modal').modal('show');
});
$('#really_delete').click(function(event) {
$('#delete_form').submit();
});
{% endblock %}