Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- a/gpp/templates/bio/edit_elsewhere.html Thu Jan 20 04:40:14 2011 +0000 +++ b/gpp/templates/bio/edit_elsewhere.html Thu Jan 27 02:56:10 2011 +0000 @@ -8,7 +8,7 @@ <ul> {% for profile in request.user.social_network_profiles.all %} <li> - <img src="{{ MEDIA_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> + <img src="{{ STATIC_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> <a href="{{ profile.url }}" rel="me">{{ profile.name }}</a> <form id="delete-network-{{ profile.id }}" method="post" action=".">{% csrf_token %} <input type="hidden" name="delete_id" value="{{ profile.id }}" /> @@ -37,7 +37,7 @@ <ul> {% for profile in request.user.instant_messenger_profiles.all %} <li> - <img src="{{ MEDIA_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> + <img src="{{ STATIC_URL }}elsewhere/{{ profile.icon_name }}" alt="{{ profile.name }}" /> {{ profile.name }}: <a href="{{ profile.url }}">{{ profile.username }}</a> <form id="delete-messenger-{{ profile.id }}" method="post" action=".">{% csrf_token %} <input type="hidden" name="delete_id" value="{{ profile.id }}" /> @@ -63,7 +63,7 @@ <ul> {% for profile in request.user.website_profiles.all %} <li> - <img src="{{ MEDIA_URL }}icons/world.png" alt="{{ profile.name }}" /> + <img src="{{ STATIC_URL }}icons/world.png" alt="{{ profile.name }}" /> <a href="{{ profile.url }}" rel="me">{{ profile.name }}</a> <form id="delete-website-{{ profile.id }}" method="post" action=".">{% csrf_token %} <input type="hidden" name="delete_id" value="{{ profile.id }}" />