[extensions-web] extensions: Show the pending review message in the right place



commit ee94e5721b6ced735952bf1a410cf97a26cd41d1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 26 02:23:32 2012 -0400

    extensions: Show the pending review message in the right place
    
    It looks confusing otherwise. We're going to stick this in detail
    since it's such a generic message for an unlinked page, and hope
    that no user discovers the page by accident. If they do, oh well,
    they don't really get anything except confusion.

 .../extensions/templates/extensions/detail.html    |    7 +++++++
 .../templates/extensions/detail_edit.html          |    7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/detail.html b/sweettooth/extensions/templates/extensions/detail.html
index 6402b08..95f7ef9 100644
--- a/sweettooth/extensions/templates/extensions/detail.html
+++ b/sweettooth/extensions/templates/extensions/detail.html
@@ -58,6 +58,13 @@
       {% endif %}
       </dl>
 
+      {% if not is_unreviewed %}
+      <p class="step">
+        A reviewer will review the extension you submitted to make sure there's nothing too
+        dangerous. You'll be emailed the result of the review.
+      </p>
+      {% endif %}
+
       <hr style="clear: both;">
 
       {% block comments %}
diff --git a/sweettooth/extensions/templates/extensions/detail_edit.html b/sweettooth/extensions/templates/extensions/detail_edit.html
index 9389abd..d80f1fa 100644
--- a/sweettooth/extensions/templates/extensions/detail_edit.html
+++ b/sweettooth/extensions/templates/extensions/detail_edit.html
@@ -9,13 +9,6 @@
 {% endblock %}
 
 {% block extra %}
-  {% if not is_unreviewed %}
-  <p class="step">
-      A reviewer will review the extension you submitted to make sure there's nothing too
-      dangerous. You'll be emailed the result of the review.
-  </p>
-  {% endif %}
-
   <h2 class="expandy_header expanded"> Admin </h2>
   <ul>
     <li><a href="{% url extensions-upload-file %}">Upload a new version</a></li>



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