[extensions-web] Fix review and source link once more



commit 0a363498b4d404c1b1537fdccd769612e6f3e0ea
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Nov 27 20:45:10 2011 -0500

    Fix review and source link once more

 .../templates/extensions/detail_edit.html          |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/detail_edit.html b/sweettooth/extensions/templates/extensions/detail_edit.html
index 3e2bc9b..87fa387 100644
--- a/sweettooth/extensions/templates/extensions/detail_edit.html
+++ b/sweettooth/extensions/templates/extensions/detail_edit.html
@@ -42,7 +42,7 @@
   </div>
   {% endif %}
 
-  {% if not is_preview and is_multiversion %}
+  {% if not is_preview %}
     <h2 class="expandy_header expanded"> Admin </h2>
     <ul>
       <li><a href="{% url extensions-upload-file pk=extension.pk %}">Upload a new version</a></li>
@@ -51,6 +51,7 @@
       {% endif %}
     </ul>
 
+  {% if is_multiversion %}
     <h2 class="expandy_header expanded"> Versions </h2>
     <table>
       <thead> <tr>
@@ -90,6 +91,7 @@
       </tbody>
     </table>
   {% endif %}
+  {% endif %}
 {% endblock %}
 
 {% block screenshot %}



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