[extensions-web] Fix detail view.



commit 9963714c3aa9a88a0810ef6cebe591e80ea25174
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Sep 23 15:31:03 2011 -0400

    Fix detail view.
    
    No idea how this worked before, but it did!

 .../extensions/templates/extensions/detail.html    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/extensions/templates/extensions/detail.html b/sweettooth/extensions/templates/extensions/detail.html
index 367e513..4ad419a 100644
--- a/sweettooth/extensions/templates/extensions/detail.html
+++ b/sweettooth/extensions/templates/extensions/detail.html
@@ -8,12 +8,12 @@
    {% spaceless %}
     <p class="message error">
       This version of {{ version.extension.name }} was rejected.
-      <a href="{% url extension-detail pk=version.extension.pk %}">View the latest accepted version.</a>
+      <a href="{% url extensions-detail pk=version.extension.pk %}">View the latest accepted version.</a>
     </p>
     {% endspaceless %}
   {% else %} {% if old_version %}
     <p class="message warning">
-      You are viewing an old version of <a href="{% url extension-detail pk=version.extension.pk %}">{{ version.extension.name }}</a>
+      You are viewing an old version of <a href="{% url extensions-detail pk=version.extension.pk %}">{{ version.extension.name }}</a>
     </p>
   {% endif %} {% endif %}
 {% endblock %}



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