[extensions-web] extensions: Add the download URL to the ajax details view



commit 0c6febe4645b0a95b8b07ab4be25f3758a56ac74
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Mar 30 16:18:21 2012 -0400

    extensions: Add the download URL to the ajax details view

 sweettooth/extensions/views.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index fa9846d..6107172 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -354,6 +354,7 @@ def ajax_details(extension):
                 creator = extension.creator.username,
                 description = extension.description,
                 link = reverse('extensions-detail', kwargs=dict(pk=extension.pk)),
+                download_url = reverse('extensions-shell-download', kwargs=dict(uuid=extension.uuid)),
                 icon = extension.icon.url,
                 shell_version_map = extension.visible_shell_version_map)
 



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