summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/bundle.html
blob: 4a96b6bd3c48b5819ebffb1c9e596ed09da1006d (plain)
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
39
40
41
42
43
44
45
46
47
{% extends "base.html" %}

{% load person %}
{% load static %}

{% block headers %}
  <script type="text/javascript" src="{% static "js/jquery-1.10.1.min.js" %}"></script>
  <script type="text/javascript" src="{% static "js/jquery.tablednd.js" %}"></script>
  <script type="text/javascript" src="{% static "js/bundle.js" %}"></script>
{% endblock %}
{% block title %}{{project.name}}{% endblock %}
{% block heading %}bundle: {{bundle.owner.username}} /
{{bundle.name}}{% endblock %}

{% block body %}

<p>This bundle contains patches for the {{ bundle.project.linkname }}
project.</p>

<p><a href="{% url 'patchwork.views.bundle.mbox' username=bundle.owner.username bundlename=bundle.name %}">Download bundle as mbox</a></p>

{% if bundleform %}
<form method="post">
 {% csrf_token %}
 <input type="hidden" name="form" value="bundle"/>
<table class="form">

 <tr>
  <th colspan="2" class="headerrow">Bundle settings</th>
 </tr>

{{ bundleform }}
 <tr>
  <td colspan="2" class="submitrow">
   <input type="submit" name="action" value="Update"/>
   <input type="submit" name="action" value="Delete"/>
  </td>
 </tr>
</table>
</form>

<div style="clear: both; padding: 1em;"></div>
{% endif %}

{% include "patchwork/patch-list.html" %}

{% endblock %}