From 0303c1d636bb02eff526b62fbe6b59fc3ab7cb0c Mon Sep 17 00:00:00 2001 From: Fernando Valverde Date: Wed, 26 Oct 2022 13:56:17 -0600 Subject: [PATCH] Improve consistency in display ads text styles (#18631) * Improve consistency in display ads text styles * Add missing display ad location --- app/views/admin/display_ads/_form.html.erb | 2 +- app/views/articles/show.html.erb | 2 +- app/views/sidebars/_homepage_content.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/display_ads/_form.html.erb b/app/views/admin/display_ads/_form.html.erb index 8159c5aa5..7487872a6 100644 --- a/app/views/admin/display_ads/_form.html.erb +++ b/app/views/admin/display_ads/_form.html.erb @@ -59,7 +59,7 @@
-
+
<% if @display_ad.persisted? %> <%= @display_ad.processed_html.html_safe %> <% else %> diff --git a/app/views/articles/show.html.erb b/app/views/articles/show.html.erb index 3e41e641e..8edec99de 100644 --- a/app/views/articles/show.html.erb +++ b/app/views/articles/show.html.erb @@ -193,7 +193,7 @@ <% cache("article-bottom-content-#{@article.id}-#{user_signed_in?}-#{(@organization || @user).latest_article_updated_at}", expires_in: 18.hours) do %> <% @display_ad = DisplayAd.for_display("post_comments", user_signed_in?) %> <% if @display_ad %> -
<% @sidebar_ad = DisplayAd.for_display("sidebar_right", user_signed_in?) %> <% if @sidebar_ad %> -
+
<%= @sidebar_ad.processed_html.html_safe %>
<% end %>