Fix typo for ad_banner
This commit is contained in:
parent
9f5bce9351
commit
1ea8d9faf9
|
@ -47,7 +47,7 @@ module ParserCommon
|
||||||
if ad_banner
|
if ad_banner
|
||||||
res << "<div style='position:relative'>"
|
res << "<div style='position:relative'>"
|
||||||
res << "<ul id='banner_nav' class='clear banner_nav-#{ad_banner.title.dehumanize}'></ul>"
|
res << "<ul id='banner_nav' class='clear banner_nav-#{ad_banner.title.dehumanize}'></ul>"
|
||||||
res << "<div id='slideshow-#{ad_banner.title.dehumanize}' class='orbit-cycle-slideshow' data-cycle-timeout=#{ad_banner.timeout_millisecond} data-cycle-fx='#{@ad_banner.ad_fx}' data-cycle-pager='.banner_nav_#{ad_banner.title.dehumanize}' data-cycle-pager-template='<li><a href=\"#\"></a></li>' data-cycle-pager-active-class='activeSlide' data-cycle-random='true' style='z-index: 0'>"
|
res << "<div id='slideshow-#{ad_banner.title.dehumanize}' class='orbit-cycle-slideshow' data-cycle-timeout=#{ad_banner.timeout_millisecond} data-cycle-fx='#{ad_banner.ad_fx}' data-cycle-pager='.banner_nav_#{ad_banner.title.dehumanize}' data-cycle-pager-template='<li><a href=\"#\"></a></li>' data-cycle-pager-active-class='activeSlide' data-cycle-random='true' style='z-index: 0'>"
|
||||||
ad_banner.ad_images.can_display.each do |ad_image|
|
ad_banner.ad_images.can_display.each do |ad_image|
|
||||||
link = ad_image_link(ad_image)
|
link = ad_image_link(ad_image)
|
||||||
res << "<img src=#{ad_image.file} "
|
res << "<img src=#{ad_image.file} "
|
||||||
|
|
Reference in New Issue