SearchBuilder - Add deprecation notice to users
authorcolemanw <coleman@civicrm.org>
Thu, 23 Nov 2023 03:08:51 +0000 (22:08 -0500)
committercolemanw <coleman@civicrm.org>
Thu, 23 Nov 2023 03:08:51 +0000 (22:08 -0500)
templates/CRM/Contact/Form/Search/Builder.tpl

index f880e499608187ce9c08c6c6ac77972ffe0b10ee..2739f00eecc151aa1c5cf0e3e6fa56b82e8a4d04 100644 (file)
@@ -8,7 +8,11 @@
  +--------------------------------------------------------------------+
 *}
 {* Search Builder *}
-
+<div class="messages status no-popup">
+  {icon icon="fa-info-circle"}{/icon}
+  {capture assign='skUrl'}{crmURL p='civicrm/admin/search'}{/capture}
+  {ts 1="href='$skUrl'"}Search Builder is a legacy part of CiviCRM. It is recommended to <a %1>use SearchKit instead</a>.{/ts}
+</div>
 <div class="crm-form-block crm-search-form-block">
   <div class="crm-accordion-wrapper crm-search_builder-accordion {if $rows and !$showSearchForm}collapsed{/if}">
     <div class="crm-accordion-header crm-master-accordion-header">