summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/profile.html
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-04-20 21:45:40 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-04-20 22:45:20 +0800
commit5d0140ef04ababd93c45b5126ee1b412bd778da5 (patch)
treeef1c8adf417e7c1d4e556d50877dfaf4e1f263aa /templates/patchwork/profile.html
parent627f5aca263da2513fe6d592becd3b505d97dd21 (diff)
downloadpatchwork-5d0140ef04ababd93c45b5126ee1b412bd778da5.tar.bz2
patchwork-5d0140ef04ababd93c45b5126ee1b412bd778da5.tar.xz
bundles: Remove separate public bundle views
Having two views for bundles (public and non-public) can cause confusion when bundle owners want to share a URL; it's not obvious that the private URL isn't shareable. This change removes the private URLs, and puts all bundles under the /bundle/<username>/<bundlename>/ URL space. For non-public bundles, this will just 404 for non-owners. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork/profile.html')
-rw-r--r--templates/patchwork/profile.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/patchwork/profile.html b/templates/patchwork/profile.html
index 130b947..c02845b 100644
--- a/templates/patchwork/profile.html
+++ b/templates/patchwork/profile.html
@@ -104,8 +104,7 @@ address.</p>
<p>You have the following bundle{{ bundle|length|pluralize }}:</p>
<ul>
{% for bundle in bundles %}
- <li><a href="{% url patchwork.views.bundle.bundle bundle_id=bundle.id %}"
- >{{ bundle.name }}</a></li>
+ <li><a href="{{ bundle.get_absolute_url }}">{{ bundle.name }}</a></li>
{% endfor %}
</ul>
<p>Visit the <a href="{%url patchwork.views.bundle.bundles %}">bundles