[extensions-web] review: Put the diff view above the all files view



commit 80cf9b102f5c966b3e2c3b02ba81f0dfebd2b4fa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 6 18:07:34 2012 -0500

    review: Put the diff view above the all files view
    
    Additionally, collapse the all files view by default.

 sweettooth/review/templates/review/review.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/sweettooth/review/templates/review/review.html b/sweettooth/review/templates/review/review.html
index b43b2e4..e88fbb6 100644
--- a/sweettooth/review/templates/review/review.html
+++ b/sweettooth/review/templates/review/review.html
@@ -35,7 +35,13 @@
   </div>
 </div>
 
-<h2 class="expandy_header expanded"> Files </h2>
+{% if version.version > 1 %}
+<h2 class="expandy_header expanded"> Diff Against Previous Version </h2>
+<div id="diff" data-pk="{{ version.pk }}">
+</div>
+{% endif %}
+
+<h2 class="expandy_header"> Files </h2>
 <div>
   <div id="files" data-pk="{{ version.pk }}">
   </div>
@@ -44,12 +50,6 @@
       the extension zipfile</a>.</p>
 </div>
 
-{% if version.version > 1 %}
-<h2 class="expandy_header expanded"> Diff Against Previous Version </h2>
-<div id="diff" data-pk="{{ version.pk }}">
-</div>
-{% endif %}
-
 <h2 class="expandy_header expanded"> All Versions </h2>
 <div id="all_versions">
   <table>



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