discourse-adplugin/assets/javascripts/discourse/components/amazon-product-links.hbs

32 lines
862 B
Handlebars
Raw Normal View History

{{#if showAd}}
2020-09-04 07:24:14 -04:00
{{#if site.mobileView}}
<div class="amazon-product-links-label" style={{adTitleStyleMobile}}><h2
>{{i18n "adplugin.advertisement_label"}}</h2></div>
<iframe
style={{adWrapperStyleMobile}}
marginwidth="0"
marginheight="0"
scrolling="no"
frameborder="0"
src={{userInputMobile}}
title={{i18n "adplugin.advertisement_label"}}
>
2020-09-04 07:24:14 -04:00
</iframe>
{{else}}
<div class="amazon-product-links-label"><h2>{{i18n
"adplugin.advertisement_label"
}}</h2></div>
2020-09-04 07:24:14 -04:00
<div class="container" align="center">
<iframe
style={{adWrapperStyle}}
marginwidth="0"
marginheight="0"
scrolling="no"
frameborder="0"
src={{userInput}}
title={{i18n "adplugin.advertisement_label"}}
>
2020-09-04 07:24:14 -04:00
</iframe>
</div>
{{/if}}
{{/if}}