]> git.ozlabs.org Git - patchwork/blob - patchwork/templates/patchwork/bundle.html
4a96b6bd3c48b5819ebffb1c9e596ed09da1006d
[patchwork] / patchwork / templates / patchwork / bundle.html
1 {% extends "base.html" %}
2
3 {% load person %}
4 {% load static %}
5
6 {% block headers %}
7   <script type="text/javascript" src="{% static "js/jquery-1.10.1.min.js" %}"></script>
8   <script type="text/javascript" src="{% static "js/jquery.tablednd.js" %}"></script>
9   <script type="text/javascript" src="{% static "js/bundle.js" %}"></script>
10 {% endblock %}
11 {% block title %}{{project.name}}{% endblock %}
12 {% block heading %}bundle: {{bundle.owner.username}} /
13 {{bundle.name}}{% endblock %}
14
15 {% block body %}
16
17 <p>This bundle contains patches for the {{ bundle.project.linkname }}
18 project.</p>
19
20 <p><a href="{% url 'patchwork.views.bundle.mbox' username=bundle.owner.username bundlename=bundle.name %}">Download bundle as mbox</a></p>
21
22 {% if bundleform %}
23 <form method="post">
24  {% csrf_token %}
25  <input type="hidden" name="form" value="bundle"/>
26 <table class="form">
27
28  <tr>
29   <th colspan="2" class="headerrow">Bundle settings</th>
30  </tr>
31
32 {{ bundleform }}
33  <tr>
34   <td colspan="2" class="submitrow">
35    <input type="submit" name="action" value="Update"/>
36    <input type="submit" name="action" value="Delete"/>
37   </td>
38  </tr>
39 </table>
40 </form>
41
42 <div style="clear: both; padding: 1em;"></div>
43 {% endif %}
44
45 {% include "patchwork/patch-list.html" %}
46
47 {% endblock %}