[extensions-web: 57/75] Show the review table for all the current reviews.



commit 86c90a9cb707ef83a1bf7a2cbc0b68f55644b105
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Sep 22 01:25:50 2011 -0400

    Show the review table for all the current reviews.
    
    This is a suboptimal UI for this, but it's all I've got for now...

 sweettooth/review/templates/review/review.html |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/sweettooth/review/templates/review/review.html b/sweettooth/review/templates/review/review.html
index 0190cc2..d3d08b0 100644
--- a/sweettooth/review/templates/review/review.html
+++ b/sweettooth/review/templates/review/review.html
@@ -36,11 +36,18 @@
 <div id="files">
 </div>
 
-<h2 class="expanded"> Previous Reviews </h2>
-<div id="previous">
-  {% include "review/review_table.html" with reviews=previous_versions empty="There were no previous reviews of this extension." %}
+<h2 class="expanded"> Previous Versions </h2>
+<div id="previous_versions">
+  {% include "review/review_table.html" with reviews=previous_versions empty="There were no previous versions of this extension." %}
 </div>
 
+{% if previous_reviews %}
+<h2 class="expanded"> Previous Reviews on this Version </h2>
+<div id="previous_reviews">
+  {% include "review/review_table.html" with reviews=previous_reviews %}
+</div>
+{% endif %}
+
 {% block extra %}
 {% endblock %}
 



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