[damned-lies] Fixed image path for help icon. Not anymore in MEDIA_URL but now on STATIC_URL
- From: Gil Forcada Codinachs <gforcada src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fixed image path for help icon. Not anymore in MEDIA_URL but now on STATIC_URL
- Date: Wed, 3 Oct 2012 23:08:40 +0000 (UTC)
commit c7e32f6441081f9fae84b7bec7eebcffb9dff762
Author: Gil Forcada <gforcada gnome org>
Date: Thu Oct 4 01:03:00 2012 +0200
Fixed image path for help icon. Not anymore in MEDIA_URL but now on STATIC_URL
stats/templatetags/stats_extras.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/templatetags/stats_extras.py b/stats/templatetags/stats_extras.py
index 4da11a2..3015540 100644
--- a/stats/templatetags/stats_extras.py
+++ b/stats/templatetags/stats_extras.py
@@ -151,7 +151,7 @@ def as_tr(field):
# This is a custom attribute possibly set in forms.py
if hasattr(field.field, 'help_link'):
help_link = '<span class="help_link"><a class="show-overlay" href="%s"><img src="%simg/help.png" alt="help icon"></a></span>' % (
- field.field.help_link, settings.MEDIA_URL)
+ field.field.help_link, settings.STATIC_URL)
errors_html = u''
if field.errors:
errors_html = u'<ul class="errorlist">%s</ul>' % u''.join(["<li>%s</li>" % err for err in field.errors])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]