]> git.ozlabs.org Git - patchwork/commitdiff
templates/bundle: Unify public bundle meta information
authorJeremy Kerr <jk@ozlabs.org>
Sun, 30 Dec 2012 04:31:50 +0000 (12:31 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Sun, 30 Dec 2012 04:37:16 +0000 (12:37 +0800)
Currently, the public bundle meta information (the download link before
the list of patches) differs from that of the private bundle view. This
change unifies this information with the private view.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
templates/patchwork/bundle-public.html

index 181e2112d6ccbddd97dec2269aad563afa9c9ed3..1a0347fa4692bf40b8d4944641e3cd7ad0ad4883 100644 (file)
@@ -3,11 +3,17 @@
 {% load person %}
 
 {% block title %}{{project.name}}{% endblock %}
-{% block heading %}Bundle: {{bundle.name}}{% endblock %}
+{% block heading %}bundle: {{bundle.owner.username}} /
+{{bundle.name}}{% endblock %}
 
 {% block body %}
 
-<a href="{% url patchwork.views.bundle.public_mbox username=bundle.owner.username bundlename=bundle.name %}">Download</a> bundle as mbox
+<p>This bundle contains patches for the {{ bundle.project.linkname }}
+project.</p>
+
+<p><a
+href="{% url patchwork.views.bundle.public_mbox username=bundle.owner.username bundlename=bundle.name %}"
+>Download bundle as mbox</a></p>
 
 {% include "patchwork/patch-list.html" %}