aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Summers <matthew.summers@liquidustech.com>2010-05-21 14:59:27 -0500
committerMatthew Summers <matthew.summers@liquidustech.com>2010-05-21 14:59:27 -0500
commitfc49abeafa6ddf2277dcd4f6473ebc7ee4bb70ae (patch)
treea1fdd08a943694a5c80720e13738bb6686e2f8cd /gentoo_ads/ads/templates/ads.html
parentfix for syslog stripping messages in [ ] (diff)
downloadgentoo-ads-fc49abeafa6ddf2277dcd4f6473ebc7ee4bb70ae.tar.gz
gentoo-ads-fc49abeafa6ddf2277dcd4f6473ebc7ee4bb70ae.tar.bz2
gentoo-ads-fc49abeafa6ddf2277dcd4f6473ebc7ee4bb70ae.zip
Removed image-type restriction, and superfluous imports in models & tests
Diffstat (limited to 'gentoo_ads/ads/templates/ads.html')
-rw-r--r--gentoo_ads/ads/templates/ads.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo_ads/ads/templates/ads.html b/gentoo_ads/ads/templates/ads.html
index e288870..f4272f8 100644
--- a/gentoo_ads/ads/templates/ads.html
+++ b/gentoo_ads/ads/templates/ads.html
@@ -12,7 +12,7 @@
<body>
<div class="ads">
{% for ad in ads %}
- <a href="{{ad.url}}"><img src="{{ MEDIA_URL }}{{ ad.name }}.png" alt="{{ ad.title|slice:":50" }}" title="{{ ad.title|slice:":50" }}" height="{{ ad.height }}" width="{{ ad.width }}" /></a><br />
+ <a href="{{ad.url}}"><img src="{{ MEDIA_URL }}{{ ad.img }}" alt="{{ ad.title|slice:":50" }}" title="{{ ad.title|slice:":50" }}" height="{{ ad.height }}" width="{{ ad.width }}" /></a><br />
{% endfor %}
</div>
</body>