summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2012-12-30 12:31:50 +0800
committerJeremy Kerr <jk@ozlabs.org>2012-12-30 12:37:16 +0800
commit640b69c56a85c2c04d4dc57dbe5dc9ebe43633cf (patch)
treee4ad5a98de936277a7b87466d236a5072a04b3ad
parent92d396d5e2d95dfaca844dcf13918ed66c39eead (diff)
downloadpatchwork-640b69c56a85c2c04d4dc57dbe5dc9ebe43633cf.tar.bz2
patchwork-640b69c56a85c2c04d4dc57dbe5dc9ebe43633cf.tar.xz
templates/bundle: Unify public bundle meta information
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>
-rw-r--r--templates/patchwork/bundle-public.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/patchwork/bundle-public.html b/templates/patchwork/bundle-public.html
index 181e211..1a0347f 100644
--- a/templates/patchwork/bundle-public.html
+++ b/templates/patchwork/bundle-public.html
@@ -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" %}