Contact Relationships: alter markup for help texts
authorMathieu Lu <mathieu@symbiotic.coop>
Sun, 21 Jan 2024 20:14:29 +0000 (15:14 -0500)
committerMathieu Lu <mathieu@symbiotic.coop>
Sun, 21 Jan 2024 20:15:04 +0000 (15:15 -0500)
ang/afform/afsearchTabRel.aff.html
managed/contactSummary/SavedSearch_Contact_Summary_Relationships.mgd.php

index 07fb4f4622d07294a9f9d0472c01581b86b5e3c4..40f997a9627dda858cd178c8ee1f736cbae43126 100644 (file)
@@ -1,9 +1,12 @@
 <div af-fieldset="">
-  <div class="alert alert-warning">
+  <div class="help">
     <strong>{{:: ts('Permissioned Relationships:') }}</strong>
     <i class="crm-i fa-eye"></i> {{:: ts('This contact can be viewed by the other.') }}
     <i class="crm-i fa-pencil-square"></i> {{:: ts('This contact can be viewed and edited by the other.') }}
   </div>
+  <h3>{{:: ts('Current Relationships') }}</h3>
   <crm-search-display-table search-name="Contact_Summary_Relationships" display-name="Contact_Summary_Relationships_Active" filters="{near_contact_id: options.contact_id, is_current: true}"></crm-search-display-table>
+  <h3>{{:: ts('Inactive Relationships') }}</h3>
+  <div class="help">{{:: ts('These relationships are Disabled OR have a past End Date.') }}</div>
   <crm-search-display-table search-name="Contact_Summary_Relationships" display-name="Contact_Summary_Relationships_Inactive" filters="{near_contact_id: options.contact_id, is_current: false}"></crm-search-display-table>
 </div>
index 07c853fc3f9fcda5fcd9f44cadea527abb247f9c..822209aa1b64a8b67a38a2def7b9e475e8a2fdd4 100644 (file)
@@ -293,7 +293,7 @@ return [
         'saved_search_id.name' => 'Contact_Summary_Relationships',
         'type' => 'table',
         'settings' => [
-          'description' => ts('These relationships are Disabled OR have a past End Date.'),
+          'description' => '',
           'sort' => [],
           'limit' => 50,
           'pager' => [