[extensions-web] Remove an unused with block in templates
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Remove an unused with block in templates
- Date: Fri, 2 Dec 2011 01:56:04 +0000 (UTC)
commit 5eb5b424ccc869c4f006e137e7e251bc36f2a3ad
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Dec 1 19:23:51 2011 -0500
Remove an unused with block in templates
We don't depend on anything version-specific in the list
.../extensions/templates/extensions/list.html | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/list.html b/sweettooth/extensions/templates/extensions/list.html
index 26fbd5b..06c2fdf 100644
--- a/sweettooth/extensions/templates/extensions/list.html
+++ b/sweettooth/extensions/templates/extensions/list.html
@@ -10,7 +10,6 @@
{% endif %}
{% for extension in extension_list %}
- {% with extension.latest_version as version %}
<li class="extension">
<h3 class="extension-name"><a href="{% url extensions-detail pk=extension.pk %}" class="title-link"><img src="{{ extension.icon.url }}" class="icon">{{ extension.name }}</a></h3>
<span class="author">by <a href="{% url auth-profile user=extension.creator.username %}">{{ extension.creator }}</a></span>
@@ -18,7 +17,6 @@
{{ extension.description }}
</p>
</li>
- {% endwith %}
{% endfor %}
{% else %}
<div class="empty">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]