Mercurial > public > sg101
comparison gpp/templates/bio/edit_elsewhere.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 | daa2916f5b34 |
children | c99d8981068b |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
6 <h3>Social Networks</h3> | 6 <h3>Social Networks</h3> |
7 {% if request.user.social_network_profiles.all %} | 7 {% if request.user.social_network_profiles.all %} |
8 <ul> | 8 <ul> |
9 {% for profile in request.user.social_network_profiles.all %} | 9 {% for profile in request.user.social_network_profiles.all %} |
10 <li> | 10 <li> |
11 <img src="{{ MEDIA_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> | 11 <img src="{{ STATIC_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> |
12 <a href="{{ profile.url }}" rel="me">{{ profile.name }}</a> | 12 <a href="{{ profile.url }}" rel="me">{{ profile.name }}</a> |
13 <form id="delete-network-{{ profile.id }}" method="post" action=".">{% csrf_token %} | 13 <form id="delete-network-{{ profile.id }}" method="post" action=".">{% csrf_token %} |
14 <input type="hidden" name="delete_id" value="{{ profile.id }}" /> | 14 <input type="hidden" name="delete_id" value="{{ profile.id }}" /> |
15 <input type="submit" name="delete-sn-form" value="Delete" class="button" /> | 15 <input type="submit" name="delete-sn-form" value="Delete" class="button" /> |
16 </form> | 16 </form> |
35 <h3>Instant Messengers</h3> | 35 <h3>Instant Messengers</h3> |
36 {% if request.user.instant_messenger_profiles.all %} | 36 {% if request.user.instant_messenger_profiles.all %} |
37 <ul> | 37 <ul> |
38 {% for profile in request.user.instant_messenger_profiles.all %} | 38 {% for profile in request.user.instant_messenger_profiles.all %} |
39 <li> | 39 <li> |
40 <img src="{{ MEDIA_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> | 40 <img src="{{ STATIC_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> |
41 {{ profile.name }}: <a href="{{ profile.url }}">{{ profile.username }}</a> | 41 {{ profile.name }}: <a href="{{ profile.url }}">{{ profile.username }}</a> |
42 <form id="delete-messenger-{{ profile.id }}" method="post" action=".">{% csrf_token %} | 42 <form id="delete-messenger-{{ profile.id }}" method="post" action=".">{% csrf_token %} |
43 <input type="hidden" name="delete_id" value="{{ profile.id }}" /> | 43 <input type="hidden" name="delete_id" value="{{ profile.id }}" /> |
44 <input type="submit" name="delete-im-form" value="Delete" class="button" /> | 44 <input type="submit" name="delete-im-form" value="Delete" class="button" /> |
45 </form> | 45 </form> |
61 <h3>Websites</h3> | 61 <h3>Websites</h3> |
62 {% if request.user.website_profiles.all %} | 62 {% if request.user.website_profiles.all %} |
63 <ul> | 63 <ul> |
64 {% for profile in request.user.website_profiles.all %} | 64 {% for profile in request.user.website_profiles.all %} |
65 <li> | 65 <li> |
66 <img src="{{ MEDIA_URL }}icons/world.png" alt="{{ profile.name }}" /> | 66 <img src="{{ STATIC_URL }}icons/world.png" alt="{{ profile.name }}" /> |
67 <a href="{{ profile.url }}" rel="me">{{ profile.name }}</a> | 67 <a href="{{ profile.url }}" rel="me">{{ profile.name }}</a> |
68 <form id="delete-website-{{ profile.id }}" method="post" action=".">{% csrf_token %} | 68 <form id="delete-website-{{ profile.id }}" method="post" action=".">{% csrf_token %} |
69 <input type="hidden" name="delete_id" value="{{ profile.id }}" /> | 69 <input type="hidden" name="delete_id" value="{{ profile.id }}" /> |
70 <input type="submit" name="delete-w-form" value="Delete" class="button" /> | 70 <input type="submit" name="delete-w-form" value="Delete" class="button" /> |
71 </form> | 71 </form> |