diff options
author | 2010-01-11 12:01:13 -0600 | |
---|---|---|
committer | 2010-01-11 12:01:13 -0600 | |
commit | a579911475e2a56b0bac8e60a10df27aac8442d9 (patch) | |
tree | a00939ec623aab2be218ce93c9ee138fd9a7f551 | |
parent | added in css to restrict the max size of the ad img (diff) | |
download | gentoo-ads-a579911475e2a56b0bac8e60a10df27aac8442d9.tar.gz gentoo-ads-a579911475e2a56b0bac8e60a10df27aac8442d9.tar.bz2 gentoo-ads-a579911475e2a56b0bac8e60a10df27aac8442d9.zip |
limiting the display of mouse-over text to 50 chars, per robbat2's request
-rw-r--r-- | gentoo_ads/ads/templates/ads.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo_ads/ads/templates/ads.html b/gentoo_ads/ads/templates/ads.html index 1626a0c..e288870 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 }}" title="{{ ad.title }}" height="{{ ad.height }}" width="{{ ad.width }}" /></a><br /> + <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 /> {% endfor %} </div> </body> |