[extensions-web] Make "Upload a new version" available to any editing user



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]