From 41d2620d065d1a1a7ed9199126ab200622810025 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Wed, 12 Oct 2016 14:00:05 -0300 Subject: [PATCH] Add some styling to print redux version --- app/views/layouts/crawler.html.erb | 40 ------------------------------ app/views/topics/show.html.erb | 11 ++++++++ lib/sass/discourse_stylesheets.rb | 4 +-- 3 files changed, 13 insertions(+), 42 deletions(-) diff --git a/app/views/layouts/crawler.html.erb b/app/views/layouts/crawler.html.erb index 0446c81f0bf..a04edf944a0 100644 --- a/app/views/layouts/crawler.html.erb +++ b/app/views/layouts/crawler.html.erb @@ -10,46 +10,6 @@ <%- end %> <%= render_google_universal_analytics_code %> <%= yield :head %> - <%- unless customization_disabled? %> diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index 620b1b54f09..4f20a507f08 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -69,6 +69,17 @@ <% if @topic_view.print %> <% content_for :after_body do %> + <%- if rtl? %> + <%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl, 'print') %> + <%- else %> + <%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile : :desktop, 'print') %> + <%- end %> +