[extensions-web] Don't use {{ empty }} in the inline review list.
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Don't use {{ empty }} in the inline review list.
- Date: Fri, 30 Sep 2011 17:41:13 +0000 (UTC)
commit 8418d7b0a3a71ea425dbad97ee2e874f0cc5bf08
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Sep 27 17:37:39 2011 -0400
Don't use {{ empty }} in the inline review list.
Remove this vestige of the review table.
sweettooth/auth/templates/auth/profile.html | 2 +-
sweettooth/review/templates/review/review.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/auth/templates/auth/profile.html b/sweettooth/auth/templates/auth/profile.html
index 5cffa61..d08913a 100644
--- a/sweettooth/auth/templates/auth/profile.html
+++ b/sweettooth/auth/templates/auth/profile.html
@@ -44,7 +44,7 @@
<blockquote>{{ review.comments }}</blockquote>
</div>
{% empty %}
- <p>>{{ empty|default:"No reviews." }}</p>
+ <p>No reviews.</p>
{% endfor %}
</div>
</div>
diff --git a/sweettooth/review/templates/review/review.html b/sweettooth/review/templates/review/review.html
index f7cc82c..7bec96e 100644
--- a/sweettooth/review/templates/review/review.html
+++ b/sweettooth/review/templates/review/review.html
@@ -70,7 +70,7 @@
<abbr class="timestamp" title="{{ review.date|date:"c" }}">{{ review.date|date:"F j, Y" }}</abbr>
<blockquote>{{ review.comments }}</blockquote>
{% empty %}
- <p>{{ empty|default:"No reviews." }}</p>
+ <p>No reviews.</p>
</div>
{% endfor %}
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]