regluit/frontend/templates/merge.html

44 lines
1.5 KiB
HTML
Raw Normal View History

2015-04-28 03:24:02 +00:00
{% extends 'basedocumentation.html' %}
2016-05-11 14:41:50 +00:00
{% block extra_extra_head %}
2014-04-10 17:15:08 +00:00
{{ block.super }}
<link rel="stylesheet" href="/static/css/ui-lightness/jquery-ui-1.8.16.custom.css" type="text/css" media="screen">
{{ form.media.css }}
<script type="text/javascript" src="{{ jquery_ui_home }}" ></script>
{{ form.media.js }}
{% endblock %}
{% block doccontent %}
2013-04-16 20:46:45 +00:00
<h2>{{ work.title }}</h2>
{% if merge_complete %}
2015-04-28 03:24:02 +00:00
<h2>Merge {{ old_work_id }} into <a href="{% url 'work' work.id %}">{{ work.id }}</a> Complete</h2>
{% include 'workbox.html' %}
2013-04-18 15:29:34 +00:00
<div><a href="?again">Merge more</a><br /><br /></div>
{% else %}
<h2>Merge Works</h2>
<form method="POST" action="#">
{% csrf_token %}
{{ form.as_p }}
<h3>Merge this work...</h3>
{% if other_work %}
{% with other_work as work%}
{% include 'workbox.html' %}
{% endwith %}
{% endif %}
<h3>... into the current work</h3>
{% include 'workbox.html' %}
{% if other_work %}
<input type="submit" name="confirm_merge_works" value="Confirm Merge" id="submit" />
{% else %}
<input type="submit" name="merge_works" value="Preview Merge Works" id="submit" />
{% endif %}
</form>
{% endif %}
2013-04-16 20:46:45 +00:00
<h2>More Edition Management</h2>
2015-04-28 03:24:02 +00:00
<div><a href="{% url 'work_editions' work.id %}">Remove editions from this work</a><br /><br /></div>
<div><a href="{% url 'new_edition' work.id '' %}">Create a new edition for this work</a><br /><br /></div>
2013-04-16 20:46:45 +00:00
{% endblock %}