[extensions-web] Make the review list use the conventional "details page preview".
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Make the review list use the conventional "details page preview".
- Date: Tue, 27 Sep 2011 03:38:58 +0000 (UTC)
commit 720171a8dcba10bb6f1382aca78a20d7281ab943
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Sep 26 17:33:07 2011 -0400
Make the review list use the conventional "details page preview".
sweettooth/review/templates/review/list.html | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/review/templates/review/list.html b/sweettooth/review/templates/review/list.html
index 913a8b7..a74586b 100644
--- a/sweettooth/review/templates/review/list.html
+++ b/sweettooth/review/templates/review/list.html
@@ -4,10 +4,22 @@
{% block body %}
<h2> Unreviewed Extensions </h2>
-<ul>
+<ul class="extensions">
{% for version in versions %}
{% with extension=version.extension %}
- <li><a href="{% url review-version pk=version.pk %}">{{ extension.name }}</a> ({{ version.version }}) by {{ extension.creator }}</li>
+<li class="extension">
+ <div class="switch insensitive"></div>
+
+ {% if extension.icon %}
+ <img src="{{ extension.icon.url }}" class="icon">
+ {% endif %}
+
+ <h3 class="extension-name"><a href="{% url review-version pk=version.pk %}">{{ extension.name }}</a></h3>
+ <span class="author">by {{ extension.creator }}</span>
+ <p class="description">
+ {{ extension.description }}
+ </p>
+</li>
{% endwith %}
{% endfor %}
</ul>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]