From 292951e302e4f56b304e4f19a3f8cdb84eb99e3a Mon Sep 17 00:00:00 2001 From: Sarah Ni Date: Wed, 30 Sep 2015 10:48:26 +1000 Subject: [PATCH] Added Advertisement Label on top of Ad --- .../components/amazon-product-links.hbs | 1 + .../templates/components/google-adsense.hbs | 1 + .../templates/components/google-dfp-ad.hbs | 1 + plugin.rb | 42 +++++++++++++++++++ 4 files changed, 45 insertions(+) diff --git a/assets/javascripts/discourse/templates/components/amazon-product-links.hbs b/assets/javascripts/discourse/templates/components/amazon-product-links.hbs index 5ddf9b5..bb1f41b 100644 --- a/assets/javascripts/discourse/templates/components/amazon-product-links.hbs +++ b/assets/javascripts/discourse/templates/components/amazon-product-links.hbs @@ -1,4 +1,5 @@ {{#if checkTrustLevels}} + {{#if site.mobileView}} diff --git a/assets/javascripts/discourse/templates/components/google-adsense.hbs b/assets/javascripts/discourse/templates/components/google-adsense.hbs index 53c645d..c31f0e9 100644 --- a/assets/javascripts/discourse/templates/components/google-adsense.hbs +++ b/assets/javascripts/discourse/templates/components/google-adsense.hbs @@ -1,4 +1,5 @@ {{#if checkTrustLevels}} +

ADVERTISEMENT

{{#if site.mobileView}}

ADVERTISEMENT

{{#if site.mobileView}}