[extensions-web] Fix review and source link
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Fix review and source link
- Date: Mon, 28 Nov 2011 01:44:00 +0000 (UTC)
commit cfce9b5683165307233a962e381836aaf6b86d0d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Nov 27 20:43:48 2011 -0500
Fix review and source link
.../templates/extensions/detail_edit.html | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/detail_edit.html b/sweettooth/extensions/templates/extensions/detail_edit.html
index 87f5937..3e2bc9b 100644
--- a/sweettooth/extensions/templates/extensions/detail_edit.html
+++ b/sweettooth/extensions/templates/extensions/detail_edit.html
@@ -46,7 +46,9 @@
<h2 class="expandy_header expanded"> Admin </h2>
<ul>
<li><a href="{% url extensions-upload-file pk=extension.pk %}">Upload a new version</a></li>
- <li><a href="{% url review-version pk=extension.pk %}">View review and source</a></li>
+ {% if version %}
+ <li><a href="{% url review-version pk=version.pk %}">View review and source</a></li>
+ {% endif %}
</ul>
<h2 class="expandy_header expanded"> Versions </h2>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]