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 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> | ||||
| 	{{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"> | ||||
| 			<iframe style={{adWrapperStyle}} marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src={{userInput}}> | ||||
| 			</iframe> | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| {{#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}}> | ||||
|     <ins class="adsbygoogle" | ||||
|       style={{adInsStyle}} | ||||
|  |  | |||
|  | @ -1,9 +1,9 @@ | |||
| {{#if showAd}} | ||||
|   {{#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> | ||||
|   {{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> | ||||
|   {{/if}} | ||||
| {{/if}} | ||||
|  |  | |||
|  | @ -1,4 +1,7 @@ | |||
| en: | ||||
|   js: | ||||
|     adplugin: | ||||
|       advertisement_label: 'ADVERTISEMENT' | ||||
|   admin_js: | ||||
|     admin: | ||||
|       site_settings: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue