From 7eb5f783438bc0ea86fe22ffe6f2bb6c7d369d73 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 6 Nov 2017 09:59:58 -0500 Subject: [PATCH] UX: increase max length of topic titles in summary email html by 40 characters --- app/views/user_notifications/digest.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index cdea3973017..b09bc3b736c 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -125,7 +125,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo

- <%= gsub_emoji_to_unicode(t.title.truncate(60, separator: /\s/)) -%> + <%= gsub_emoji_to_unicode(t.title.truncate(100, separator: /\s/)) -%>

<%- if SiteSetting.show_topic_featured_link_in_digest && t.featured_link %> @@ -280,7 +280,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo

- <%= gsub_emoji_to_unicode(post.topic.title.truncate(60, separator: /\s/)) -%> + <%= gsub_emoji_to_unicode(post.topic.title.truncate(100, separator: /\s/)) -%>

<%=t 'user_notifications.digest.join_the_discussion' %> @@ -326,7 +326,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo - <%= gsub_emoji_to_unicode(t.title.truncate(60, separator: /\s/)) -%> + <%= 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) %>