aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Summers <matthew.summers@liquidustech.com>2010-07-27 12:33:12 -0500
committerMatthew Summers <matthew.summers@liquidustech.com>2010-07-27 12:33:12 -0500
commitd00e497796a2791efab32f466eeb87549a73b872 (patch)
tree2eaa99f76ac93348b01d5d13eba3924cdfc3467a
parentCSS change to fix for <=IE7 (diff)
downloadgentoo-ads-d00e497796a2791efab32f466eeb87549a73b872.tar.gz
gentoo-ads-d00e497796a2791efab32f466eeb87549a73b872.tar.bz2
gentoo-ads-d00e497796a2791efab32f466eeb87549a73b872.zip
added target="_parent" to <a> tag in template
Takes care of the ads links opening in the iframe.
-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 d73873b..67f5860 100644
--- a/gentoo_ads/ads/templates/ads.html
+++ b/gentoo_ads/ads/templates/ads.html
@@ -33,7 +33,7 @@
<div class="ads">
{% for ad in ads %}
<hr />
- <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>
+ <a href="{{ad.url}}" target="_parent"><img src="{{ MEDIA_URL }}{{ ad.img }}" alt="{{ ad.title|slice:":50" }}" title="{{ ad.title|slice:":50" }}" height="{{ ad.height }}" width="{{ ad.width }}" /></a>
{% endfor %}
<hr />
</div>