[extensions-web] Link directly to the review/source from the "All Versions" table



commit 53392a3e367328d02d5c57ea1afd6e157517fca7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Jan 30 14:49:30 2012 -0500

    Link directly to the review/source from the "All Versions" table

 sweettooth/review/templates/review/review.html |    2 +-
 sweettooth/static/css/sweettooth.css           |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/sweettooth/review/templates/review/review.html b/sweettooth/review/templates/review/review.html
index c764e44..b43b2e4 100644
--- a/sweettooth/review/templates/review/review.html
+++ b/sweettooth/review/templates/review/review.html
@@ -72,7 +72,7 @@
           {% endif %}
         </td>
         <td>
-          <span class="{{ ver.get_status_class }}">{{ ver.get_status_display }}</span>
+          <a class="{{ ver.get_status_class }}" href="{% url review-version pk=ver.pk %}">{{ ver.get_status_display }}</a>
         </td>
       </tr>
       {% endfor %}
diff --git a/sweettooth/static/css/sweettooth.css b/sweettooth/static/css/sweettooth.css
index 89ec124..3d4de1b 100644
--- a/sweettooth/static/css/sweettooth.css
+++ b/sweettooth/static/css/sweettooth.css
@@ -471,12 +471,12 @@ li.extension:last-child {
     display: table-cell;
 }
 
-span.rejected, span.reject {
+.rejected, .reject {
     color: #c00 !important;
     font-weight: bold;
 }
 
-span.active, span.approve {
+.active, .approve {
     color: #0a0 !important;
     font-weight: bold;
 }



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