[extensions-web] Make "Upload a new version" available to any editing user
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Make "Upload a new version" available to any editing user
- Date: Fri, 25 Nov 2011 01:12:17 +0000 (UTC)
commit d1a7a42ff3c7813aea8aa53c1a245708fe03d14e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Nov 24 00:24:28 2011 -0500
Make "Upload a new version" available to any editing user
This makes uploads easier to test for administrators.
.../templates/extensions/detail_edit.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/detail_edit.html b/sweettooth/extensions/templates/extensions/detail_edit.html
index c10ff93..b6ee5f8 100644
--- a/sweettooth/extensions/templates/extensions/detail_edit.html
+++ b/sweettooth/extensions/templates/extensions/detail_edit.html
@@ -42,7 +42,7 @@
</div>
{% endif %}
- {% if request.user == extension.creator and not is_preview %}
+ {% if not is_preview %}
<a href="{% url extensions-upload-file pk=extension.pk %}">Upload a new version</a>
{% endif %}
{% endblock %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]