From 4935c9f1f8db54312d8343a278c23cb0d3f6b61b Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 28 Oct 2019 16:36:37 -0400 Subject: [PATCH] DEV: replace inline RTL attributes with classes in digest.html.erb --- app/views/user_notifications/digest.html.erb | 100 +++++++++---------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 3d3914999e6..fc187f6d482 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -13,7 +13,7 @@ <%- else %> - +
@@ -30,11 +30,11 @@
<%- end %> - +
- +
@@ -44,17 +44,17 @@
  - +
-
+
<%=t 'user_notifications.digest.since_last_visit' %>
- +
<%- @counts.each do |count| -%> @@ -80,22 +80,22 @@
- +
-
- +
@@ -221,38 +221,38 @@ <%=t 'user_notifications.digest.popular_posts' %> -
 
+
-
  + <% @popular_posts.each do |post| %> - +
-
+ <%= email_excerpt(post.cooked, post) %>
- +
-
+
- + -
- - +
 
+
 
@@ -297,43 +297,43 @@ <% if @other_new_for_you.present? %>
<%=t 'user_notifications.digest.more_new' %>
- +
  - +
<% @other_new_for_you.each do |t| %> - - - - @@ -401,7 +401,7 @@ <%= digest_custom_html("above_footer") %> -
- + + <%= gsub_emoji_to_unicode(t.title.truncate(100, separator: /\s/)) -%> <%- if SiteSetting.show_topic_featured_link_in_digest && t.featured_link %> <%= raw topic_featured_link_domain(t.featured_link) %> <%- end %> -

+

<%= category_badge(t.category, inline_style: true, absolute_url: true) %>

+ <% t.posters_summary[0,2].each do |ps| %> <% if ps.user %> <% end %> <% end %> + -

<%= t.like_count -%>

+

<%= t.like_count -%>

+ -

<%= t.posts_count - 1 -%>

+

<%= t.posts_count - 1 -%>

+