[extensions-web] Upload a new version shouldn't be there on a preview.



commit 1e49cf7a136f3a3f2af40ab75b877742e598bc90
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Sep 23 15:33:13 2011 -0400

    Upload a new version shouldn't be there on a preview.

 .../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 56ea55f..b48faf4 100644
--- a/sweettooth/extensions/templates/extensions/detail-edit.html
+++ b/sweettooth/extensions/templates/extensions/detail-edit.html
@@ -21,8 +21,8 @@
 {% block extra %}
   {% if is_preview %}
     <button id="submit-ajax" data-url="{% url extensions-ajax-submit pk=version.pk %}">Submit the extension for review.</button>
-  {% endif %}
   <a href="{% url extensions-upload-file pk=version.extension.pk %}">Upload a new version</a>
+  {% endif %}
 {% endblock %}
 
 {% block extra-extension-info %}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]