From c4412df0f07353ec232fe2a496367ba8aeeefaa4 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Tue, 19 Jul 2022 14:48:10 +0100 Subject: [PATCH] Use fontawesome icon helper for activity/Page/AJAX --- CRM/Activity/Page/AJAX.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CRM/Activity/Page/AJAX.php b/CRM/Activity/Page/AJAX.php index 4f85789576..fb615d8663 100644 --- a/CRM/Activity/Page/AJAX.php +++ b/CRM/Activity/Page/AJAX.php @@ -217,7 +217,7 @@ class CRM_Activity_Page_AJAX { } // email column links/icon if ($row['email']) { - $row['email'] = ''; + $row['email'] = '' . CRM_Core_Page::crmIcon('fa-envelope') . ''; } // view end date if set @@ -241,17 +241,18 @@ class CRM_Activity_Page_AJAX { case 'caseRel': if (empty($row['end_date'])) { $row['actions'] = '' . - '' . + CRM_Core_Page::crmIcon('fa-pencil') . '' . '' . - '' . + CRM_Core_Page::crmIcon('fa-trash') . ''; + } break; case 'caseRoles': $row['actions'] = '' . - '' . + CRM_Core_Page::crmIcon('fa-pencil') . ''; break; } -- 2.25.1