fix error
This commit is contained in:
parent
ccba02d1bb
commit
03de224748
|
@ -85,7 +85,7 @@ class AdBannersController < ApplicationController
|
||||||
context = ad_b.context.tr('"',"'") rescue ""
|
context = ad_b.context.tr('"',"'") rescue ""
|
||||||
alt_title = (ad_b.title.blank? ? "ad-banner image" : ad_b.title)
|
alt_title = (ad_b.title.blank? ? "ad-banner image" : ad_b.title)
|
||||||
if ad_b.exchange_item == "1"
|
if ad_b.exchange_item == "1"
|
||||||
image_html = "<div class=\"w-ba-banner__slide #{klass}\"
|
image_html = "<div class=\"w-ad-banner__slide w-ba-banner__slide #{klass}\"
|
||||||
data-link=\"#{ad_b.out_link || "#"}'\"
|
data-link=\"#{ad_b.out_link || "#"}'\"
|
||||||
data-cycle-title=\"#{ad_b.title}\"
|
data-cycle-title=\"#{ad_b.title}\"
|
||||||
data-cycle-desc=\"#{context}\"
|
data-cycle-desc=\"#{context}\"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
data-cycle-swipe=true
|
data-cycle-swipe=true
|
||||||
data-cycle-swipe-fx="scrollHorz"
|
data-cycle-swipe-fx="scrollHorz"
|
||||||
>
|
>
|
||||||
<div class="w-ba-banner__slide {{class}}"
|
<div class="w-ad-banner__slide w-ba-banner__slide {{class}}"
|
||||||
data-link="{{link}}"
|
data-link="{{link}}"
|
||||||
data-cycle-title="{{title}}"
|
data-cycle-title="{{title}}"
|
||||||
data-cycle-desc="{{context}}"
|
data-cycle-desc="{{context}}"
|
||||||
|
|
Loading…
Reference in New Issue