From 7a9baa6c89478adad5fbe27f7a40347067af7635 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 11 Jun 2015 19:22:22 +0530 Subject: [PATCH] FIX: fix category badge and link in email digest --- app/views/user_notifications/digest.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 52b3e767933..a7f65163111 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -45,7 +45,7 @@
  • <%= link_to t.title, "#{Discourse.base_url}#{t.relative_url}" %> <%= t.posts_count %> - <%= category_badge(t.category) %> + <%= category_badge(t.category, inline_style: true, absolute_url: true) %>
  • <%- end -%> @@ -75,4 +75,3 @@ site_link: html_site_link, unsubscribe_link: link_to(t('user_notifications.digest.click_here'), email_unsubscribe_url(host: Discourse.base_url, key: @unsubscribe_key))) %> -