From b4253abf76512f772f55555f38b4affaa8d23a91 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 26 Feb 2020 14:25:23 -0500 Subject: [PATCH] News dashboard - Code cleanup to update js & css - Use css class instead of inline style for unread items - Use `CRM.cache` instead of `window.localStorage` - Longer preview snippet for wide screens --- templates/CRM/Dashlet/Page/Blog.tpl | 77 ++++++++++++++--------------- 1 file changed, 36 insertions(+), 41 deletions(-) diff --git a/templates/CRM/Dashlet/Page/Blog.tpl b/templates/CRM/Dashlet/Page/Blog.tpl index 2c18545eda..df8e45a04d 100644 --- a/templates/CRM/Dashlet/Page/Blog.tpl +++ b/templates/CRM/Dashlet/Page/Blog.tpl @@ -12,6 +12,9 @@ #civicrm-news-feed { border: 0 none; } + #civicrm-news-feed .crm-news-feed-unread .crm-news-feed-item-title { + font-weight: bold; + } #civicrm-news-feed .collapsed .crm-accordion-header { text-overflow: ellipsis; text-wrap: none; @@ -45,7 +48,7 @@ - + {literal}{/literal} -- 2.25.1