Mercurial > public > sg101
comparison gpp/templates/bio/elsewhere_links.html @ 30:a39907cd63e2
Decided against having an elsewhere templates directory. Just put that stuff in bio.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 May 2009 20:18:14 +0000 |
parents | |
children | 146ded23d05c |
comparison
equal
deleted
inserted
replaced
29:74f04122295e | 30:a39907cd63e2 |
---|---|
1 {% if social_nets or ims or websites %} | |
2 <ul> | |
3 {% if social_nets %} | |
4 <li>Social Networks</li> | |
5 <ul class="icon-list"> | |
6 {% for net in social_nets %} | |
7 <li><img src="{{ MEDIA_URL }}elsewhere/{{ net.icon_name }}" alt="{{ net.name }}" /> | |
8 <a href="{{ net.url }}">{{ net.name }}</a></li> | |
9 {% endfor %} | |
10 </ul> | |
11 {% endif %} | |
12 {% if ims %} | |
13 <li>Instant Messengers</li> | |
14 <ul class="icon-list"> | |
15 {% for im in ims %} | |
16 <li><img src="{{ MEDIA_URL }}elsewhere/{{ im.icon_name }}" alt="{{ im.name }}" /> | |
17 <a href="{{ im.url }}">{{ im.name }}</a></li> | |
18 {% endfor %} | |
19 </ul> | |
20 {% endif %} | |
21 {% if ims %} | |
22 <li>Websites</li> | |
23 <ul class="icon-list"> | |
24 {% for site in websites %} | |
25 <li><img src="{{ MEDIA_URL }}icons/world.png" alt="{{ site.name }}" /> | |
26 <a href="{{ site.url }}">{{ site.name }}</a></li> | |
27 {% endfor %} | |
28 </ul> | |
29 {% endif %} | |
30 </ul> | |
31 {% endif %} |