annotate gpp/templates/bio/elsewhere_links.html @ 52:127ba8b24b52

Controlling the avatars directory in order to get the default avatar.
author Brian Neal <bgneal@gmail.com>
date Sun, 21 Jun 2009 22:13:57 +0000
parents a39907cd63e2
children 146ded23d05c
rev   line source
bgneal@30 1 {% if social_nets or ims or websites %}
bgneal@30 2 <ul>
bgneal@30 3 {% if social_nets %}
bgneal@30 4 <li>Social Networks</li>
bgneal@30 5 <ul class="icon-list">
bgneal@30 6 {% for net in social_nets %}
bgneal@30 7 <li><img src="{{ MEDIA_URL }}elsewhere/{{ net.icon_name }}" alt="{{ net.name }}" />
bgneal@30 8 <a href="{{ net.url }}">{{ net.name }}</a></li>
bgneal@30 9 {% endfor %}
bgneal@30 10 </ul>
bgneal@30 11 {% endif %}
bgneal@30 12 {% if ims %}
bgneal@30 13 <li>Instant Messengers</li>
bgneal@30 14 <ul class="icon-list">
bgneal@30 15 {% for im in ims %}
bgneal@30 16 <li><img src="{{ MEDIA_URL }}elsewhere/{{ im.icon_name }}" alt="{{ im.name }}" />
bgneal@30 17 <a href="{{ im.url }}">{{ im.name }}</a></li>
bgneal@30 18 {% endfor %}
bgneal@30 19 </ul>
bgneal@30 20 {% endif %}
bgneal@30 21 {% if ims %}
bgneal@30 22 <li>Websites</li>
bgneal@30 23 <ul class="icon-list">
bgneal@30 24 {% for site in websites %}
bgneal@30 25 <li><img src="{{ MEDIA_URL }}icons/world.png" alt="{{ site.name }}" />
bgneal@30 26 <a href="{{ site.url }}">{{ site.name }}</a></li>
bgneal@30 27 {% endfor %}
bgneal@30 28 </ul>
bgneal@30 29 {% endif %}
bgneal@30 30 </ul>
bgneal@30 31 {% endif %}