readthedocs.org/readthedocs/templates/wipe_version.html

39 lines
974 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% load i18n %}
{% block project_editing %}
{% with versions_active="active" %}
{% include "core/project_bar.html" %}
{% endwith %}
{% endblock %}
{% block title %}Wipe the build directories for a version {% endblock %}
{% block content %}
<h3>
{% blocktrans trimmed with slug=version.slug %}
Remove build environment for <em>{{ slug }}</em> version.
{% endblocktrans %}
</h3>
{% if deleted %}
<p>
{% blocktrans trimmed %}
Your project environment has been wiped.
{% endblocktrans %}
</p>
{% else %}
{% blocktrans trimmed %}
Having trouble getting your documentation build to complete? By clicking on the button below you'll clean out your build checkouts and environment, but not your generated documentation.
{% endblocktrans %}
2012-02-11 06:11:45 +00:00
<form method="post" action="#">
{% csrf_token %}
<input type="submit" value="{% trans 'Wipe' %} {{ version.slug }}">
2012-02-11 06:11:45 +00:00
</form>
{% endif %}
{% endblock %}