Mercurial > public > sg101
comparison gpp/templates/bio/elsewhere_links.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 | 146ded23d05c |
children |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
1 {% if social_nets or ims or websites %} | 1 {% if social_nets or ims or websites %} |
2 <ul class="icon-list"> | 2 <ul class="icon-list"> |
3 {% for net in social_nets %} | 3 {% for net in social_nets %} |
4 <li><img src="{{ MEDIA_URL }}elsewhere/{{ net.icon_name }}" alt="{{ net.name }}" /> | 4 <li><img src="{{ STATIC_URL }}elsewhere/{{ net.icon_name }}" alt="{{ net.name }}" /> |
5 <a href="{{ net.url }}">{{ net.name }}</a></li> | 5 <a href="{{ net.url }}">{{ net.name }}</a></li> |
6 {% endfor %} | 6 {% endfor %} |
7 {% for im in ims %} | 7 {% for im in ims %} |
8 <li><img src="{{ MEDIA_URL }}elsewhere/{{ im.icon_name }}" alt="{{ im.name }}" /> | 8 <li><img src="{{ STATIC_URL }}elsewhere/{{ im.icon_name }}" alt="{{ im.name }}" /> |
9 <a href="{{ im.url }}">{{ im.name }}</a></li> | 9 <a href="{{ im.url }}">{{ im.name }}</a></li> |
10 {% endfor %} | 10 {% endfor %} |
11 {% for site in websites %} | 11 {% for site in websites %} |
12 <li><img src="{{ MEDIA_URL }}icons/world.png" alt="{{ site.name }}" /> | 12 <li><img src="{{ STATIC_URL }}icons/world.png" alt="{{ site.name }}" /> |
13 <a href="{{ site.url }}">{{ site.name }}</a></li> | 13 <a href="{{ site.url }}">{{ site.name }}</a></li> |
14 {% endfor %} | 14 {% endfor %} |
15 </ul> | 15 </ul> |
16 {% endif %} | 16 {% endif %} |