comparison gpp/templates/home.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 c0d0779b266f
children 04377c5bf912
comparison
equal deleted inserted replaced
22:42f22c56ab05 23:a5f27f25fa52
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load weblinks_tags %} 2 {% load weblinks_tags %}
3 {% load downloads_tags %}
3 {% block title %}Home{% endblock %} 4 {% block title %}Home{% endblock %}
4 {% block content %} 5 {% block content %}
5 <h2>Welcome to SurfGuitar101!</h2> 6 <h2>Welcome to SurfGuitar101!</h2>
6 <p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>. 7 <p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>.
7 All major functionality is here except for the forums (which are still in development). 8 All major functionality is here except for the forums (which are still in development).
13 </p> 14 </p>
14 <p>Remember that this is a test site, and not everything is going to work. Nothing here is 15 <p>Remember that this is a test site, and not everything is going to work. Nothing here is
15 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features. 16 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features.
16 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need 17 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
17 lots of help for this aspect, as I'm more of a coder than a designer.</p> 18 lots of help for this aspect, as I'm more of a coder than a designer.</p>
18 <div class="span-9"> 19 <div class="span-9 append-1">
19 {% latest_weblinks %} 20 {% latest_weblinks %}
20 </div> 21 </div>
21 <div class="span-10 last"> 22 <div class="span-9 last">
22 Some more stuff. 23 {% latest_downloads %}
23 </div> 24 </div>
24 {% endblock %} 25 {% endblock %}