Mercurial > public > sg101
comparison gpp/templates/downloads/download.html @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | daa2916f5b34 |
children | 41411066b16d |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
18 <th>Category:</th><td>{{ download.category.title }}</td> | 18 <th>Category:</th><td>{{ download.category.title }}</td> |
19 <th>Downloads:</th><td>{{ download.hits }}</td> | 19 <th>Downloads:</th><td>{{ download.hits }}</td> |
20 </tr> | 20 </tr> |
21 <tr> | 21 <tr> |
22 <th>Rating:</th><td><div class="rating" id="rating-{{ download.id }}">{{ download.average_score|floatformat }}</div></td> | 22 <th>Rating:</th><td><div class="rating" id="rating-{{ download.id }}">{{ download.average_score|floatformat }}</div></td> |
23 <th><img src="{{ MEDIA_URL }}icons/comments.png" alt="Comments" title="Comments" /> | 23 <th><img src="{{ STATIC_URL }}icons/comments.png" alt="Comments" title="Comments" /> |
24 <a href="{% url 'downloads-details' download.id %}">Comments</a>:</th><td>{{ comment_count }}</td> | 24 <a href="{% url 'downloads-details' download.id %}">Comments</a>:</th><td>{{ comment_count }}</td> |
25 </tr> | 25 </tr> |
26 <tr><td><input type="submit" value="Download Now" /></td></tr> | 26 <tr><td><input type="submit" value="Download Now" /></td></tr> |
27 </table> | 27 </table> |
28 </form> | 28 </form> |