annotate gpp/templates/bio/elsewhere_links.html @ 31:5eed5e7c1c98

Remove fields in the user profile that were superceded by the django-elsewhere application: website, icq, aim, etc.
author Brian Neal <bgneal@gmail.com>
date Sun, 03 May 2009 20:27: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 %}