Add missing class to ad_banner for link

This commit is contained in:
Christophe Vilayphiou 2012-08-03 13:55:22 +08:00
parent 2d2e01115b
commit c4e12ff347
1 changed files with 2 additions and 2 deletions

View File

@ -50,13 +50,13 @@ module ParserCommon
timeoutFn: getTimeout,
pager: '#banner_nav',
pagerAnchorBuilder: function(idx, slide) {
return \"<li><a href='#'>sfdsfsf</a></li>\";
return \"<li><a href='#'></a></li>\";
}
});
});
</script>"
res << "<ul id='banner_nav' class='clear'></ul>"
res << "<div id='slideshow-#{ad_banner.title.dehumanize}'>"
res << "<div id='slideshow-#{ad_banner.title.dehumanize}' class='slideshow'>"
printable_ad_images = []
ad_banner.ad_images.each do |ad_image|
if ad_image.display?