The ADVERTISEMENT label can be translated and customized from admin
This commit is contained in:
parent
dce06afbdb
commit
cf77b9fdc5
|
@ -1,10 +1,10 @@
|
||||||
{{#if checkTrustLevels}}
|
{{#if checkTrustLevels}}
|
||||||
{{#if site.mobileView}}
|
{{#if site.mobileView}}
|
||||||
<div class="amazon-product-links-label" style={{adTitleStyleMobile}}><h2>ADVERTISEMENT</h2></div>
|
<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}}>
|
<iframe style={{adWrapperStyleMobile}} marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src={{userInputMobile}}>
|
||||||
</iframe>
|
</iframe>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="amazon-product-links-label"><h2>ADVERTISEMENT</h2></div>
|
<div class="amazon-product-links-label"><h2>{{i18n 'adplugin.advertisement_label'}}</h2></div>
|
||||||
<div class="container" align="center">
|
<div class="container" align="center">
|
||||||
<iframe style={{adWrapperStyle}} marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src={{userInput}}>
|
<iframe style={{adWrapperStyle}} marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src={{userInput}}>
|
||||||
</iframe>
|
</iframe>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{#if showAd}}
|
{{#if showAd}}
|
||||||
<div class="google-adsense-label"><h2>ADVERTISEMENT</h2></div>
|
<div class="google-adsense-label"><h2>{{i18n 'adplugin.advertisement_label'}}</h2></div>
|
||||||
<div class="google-adsense-content" style={{adWrapperStyle}}>
|
<div class="google-adsense-content" style={{adWrapperStyle}}>
|
||||||
<ins class="adsbygoogle"
|
<ins class="adsbygoogle"
|
||||||
style={{adInsStyle}}
|
style={{adInsStyle}}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{#if showAd}}
|
{{#if showAd}}
|
||||||
{{#if site.mobileView}}
|
{{#if site.mobileView}}
|
||||||
<div class="google-dfp-ad-label" style={{adTitleStyleMobile}}><h2>ADVERTISEMENT</h2></div>
|
<div class="google-dfp-ad-label" style={{adTitleStyleMobile}}><h2>{{i18n 'adplugin.advertisement_label'}}</h2></div>
|
||||||
<div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align=center></div>
|
<div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align=center></div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="google-dfp-ad-label"><h2>ADVERTISEMENT</h2></div>
|
<div class="google-dfp-ad-label"><h2>{{i18n 'adplugin.advertisement_label'}}</h2></div>
|
||||||
<div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align=center></div>
|
<div id={{divId}} style={{adWrapperStyle}} class="dfp-ad-unit" align=center></div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
en:
|
en:
|
||||||
|
js:
|
||||||
|
adplugin:
|
||||||
|
advertisement_label: 'ADVERTISEMENT'
|
||||||
admin_js:
|
admin_js:
|
||||||
admin:
|
admin:
|
||||||
site_settings:
|
site_settings:
|
||||||
|
|
Loading…
Reference in New Issue