[extensions-web] extensions: Remove the "We extracted the metadata" line



commit 6ef3b7f08eee00edad7eb1f5046620880e1c2829
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Apr 24 04:23:29 2012 -0400

    extensions: Remove the "We extracted the metadata" line
    
    It's quite obvious from context what we did.

 .../templates/extensions/detail_edit.html          |    1 -
 sweettooth/extensions/views.py                     |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/detail_edit.html b/sweettooth/extensions/templates/extensions/detail_edit.html
index 9b7ccdb..9ce09e8 100644
--- a/sweettooth/extensions/templates/extensions/detail_edit.html
+++ b/sweettooth/extensions/templates/extensions/detail_edit.html
@@ -6,7 +6,6 @@
   <div class="step edit">
     <h2 class="steptitle">Step <span>2</span></h2>
     <p>
-      {% if is_new_extension %} We extracted this metadata from the file you uploaded. {% endif %}
       Edit anything in yellow by clicking on it.
     </p>
 
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index 6c11796..aa255b9 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -263,7 +263,6 @@ def extension_version_view(request, obj, **kwargs):
                    is_preview = is_preview,
                    is_visible = status in models.VISIBLE_STATUSES,
                    is_rejected = status in models.REJECTED_STATUSES,
-                   is_new_extension = (extension.versions.count() == 1),
                    status = status)
 
     if extension.latest_version is not None:



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