summaryrefslogtreecommitdiff
path: root/patchwork/templates
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-02-21 14:39:07 -0500
committerStephen Finucane <stephen@that.guru>2017-03-20 19:14:06 +0000
commitd1c605f9cb11f8c0f76a91217b73382ebf590d93 (patch)
tree95e8b2d989f2efd3819664d4a16173214b1b5f51 /patchwork/templates
parentb90b0312a94ae83d325494b57f864f8d9f66fff7 (diff)
downloadpatchwork-d1c605f9cb11f8c0f76a91217b73382ebf590d93.tar
patchwork-d1c605f9cb11f8c0f76a91217b73382ebf590d93.tar.gz
views: Stop using Bundle.public_url
We now have 'get_mbox_url' which is consistent with patches. Let's drop the older one. Signed-off-by: Stephen Finucane <stephen@that.guru> Reviewed-by: Andy Doan <andy.doan@linaro.org>
Diffstat (limited to 'patchwork/templates')
-rw-r--r--patchwork/templates/patchwork/bundles.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/patchwork/templates/patchwork/bundles.html b/patchwork/templates/patchwork/bundles.html
index 83e1bd0..9e225ea 100644
--- a/patchwork/templates/patchwork/bundles.html
+++ b/patchwork/templates/patchwork/bundles.html
@@ -24,12 +24,11 @@
<td>{{ bundle.project.linkname }}</td>
<td>
{% if bundle.public %}
- <a href="{{ bundle.public_url }}">{{ bundle.public_url }}</a>
+ <a href="{{ bundle.get_mbox_url }}">{{ bundle.get_mbox_url }}</a>
{% endif %}
</td>
<td style="text-align: right">{{ bundle.patches.count }}</td>
- <td style="text-align: center;"><a
- href="{% url 'bundle-mbox' username=bundle.owner.username bundlename=bundle.name %}"
+ <td style="text-align: center;"><ahref="{{ bundle.get_mbox_url }}"
><span class="glyphicon glyphicon-download-alt"></span></a></td>
<td style="text-align: center;">
<form method="post"