summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/filters.html
diff options
context:
space:
mode:
authorStephen Finucane <stephenfinucane@hotmail.com>2015-04-07 22:20:53 +0100
committerJeremy Kerr <jk@ozlabs.org>2015-05-03 13:46:52 +0800
commitd4a2c1f8792f52fec0c881ab38c91635840a50c0 (patch)
treef08cb31b6c2ad4a80bacbf9ba8a2b8b2b2cdca6d /templates/patchwork/filters.html
parentc641660e041fdf932bad89681c167328ee85249a (diff)
downloadpatchwork-d4a2c1f8792f52fec0c881ab38c91635840a50c0.tar.bz2
patchwork-d4a2c1f8792f52fec0c881ab38c91635840a50c0.tar.xz
Integrate 'django.contrib.staticfiles'
Rather than providing a custom solution for serving static files, use the solution provided in the upstream Django source. This allows us to remove the top-level 'urls.py' file. Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork/filters.html')
-rw-r--r--templates/patchwork/filters.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/patchwork/filters.html b/templates/patchwork/filters.html
index e2b7585..10ca587 100644
--- a/templates/patchwork/filters.html
+++ b/templates/patchwork/filters.html
@@ -1,3 +1,4 @@
+{% load static %}
<script type="text/javascript" language="JavaScript">
var filterform_displayed = false;
@@ -150,7 +151,7 @@ function submitter_field_change(field)
{% if not filter.forced %}
<a href="{{ filter.url_without_me }}"><img
width="16" height="16" alt="remove filter" title="remove filter"
- src="/images/16-circle-blue-remove.png"></a>
+ src="{% static "images/16-circle-blue-remove.png" %}"></a>
{% endif %}
{% if not forloop.last %}&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;{% endif %}
{% endfor %}
@@ -158,7 +159,7 @@ function submitter_field_change(field)
none
<a href="javascript:filter_click()"><img
width="16" height="16" alt="add filter" title="add filter"
- src="/images/16-circle-blue-add.png"></a>
+ src="{% static "images/16-circle-blue-add.png" %}"></a>
{% endif %}
</div>
<div id="filterform" style="padding-top: 1em; display: none">