[extensions-web] review: Expand files view by default if we're the first version



commit 1c466c6141fb853090af1483125e2b4955562a4d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 7 13:07:35 2012 -0500

    review: Expand files view by default if we're the first version

 sweettooth/review/templates/review/review.html |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/review/templates/review/review.html b/sweettooth/review/templates/review/review.html
index e88fbb6..559ca9c 100644
--- a/sweettooth/review/templates/review/review.html
+++ b/sweettooth/review/templates/review/review.html
@@ -41,7 +41,11 @@
 </div>
 {% endif %}
 
+{% if version.version > 1 %}
 <h2 class="expandy_header"> Files </h2>
+{% else %}
+<h2 class="expandy_header expanded"> Files </h2>
+{% endif %}
 <div>
   <div id="files" data-pk="{{ version.pk }}">
   </div>



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