diff gpp/templates/downloads/download.html @ 23:a5f27f25fa52

Added a latest_downloads template tag. Made the comments view the details view for a download. Changed get_absolute_url to point to this new view.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 21:16:59 +0000
parents 32b1ca8e2940
children 2022c0409296
line wrap: on
line diff
--- a/gpp/templates/downloads/download.html	Sun Apr 19 21:01:15 2009 +0000
+++ b/gpp/templates/downloads/download.html	Sun Apr 19 21:16:59 2009 +0000
@@ -19,7 +19,7 @@
 <tr>
     <th>Rating:</th><td><div class="rating" id="rating-{{ download.id }}">{{ download.average_score|floatformat }}</div></td>
     <th><img src="{{ MEDIA_URL }}icons/comments.png" alt="Comments" title="Comments" />
-       <a href="{% url downloads-comments download.id %}">Comments</a>:</th><td>{{ comment_count }}</td>
+       <a href="{% url downloads-details download.id %}">Comments</a>:</th><td>{{ comment_count }}</td>
 </tr>
 </table>
 </dd>