CRM-21805: Fixed fields and labels in find participants
authorMukesh Ram <mukesh@compucorp.co.uk>
Mon, 26 Feb 2018 12:59:50 +0000 (18:29 +0530)
committerMukesh Ram <mukesh@compucorp.co.uk>
Mon, 26 Feb 2018 12:59:50 +0000 (18:29 +0530)
templates/CRM/Contact/Form/Search/ContactSearchFields.tpl
templates/CRM/Event/Form/Search/Common.tpl

index 53aef6858c41abd8a3c253384fba3560245a6367..dded60f42c52adf101c568b375722990d78f3232 100644 (file)
@@ -1,12 +1,16 @@
 <tr>
   <td class="font-size12pt">
-    {$form.sort_name.label}&nbsp;&nbsp;{$form.sort_name.html|crmAddClass:'twenty'}
+    {$form.sort_name.label}
+    <br>
+    {$form.sort_name.html|crmAddClass:'twenty'}
   </td>
   <td>{$form.buttons.html}</td>
 </tr>
 <tr>
   {if $form.contact_tags}
-    <td><label>{$form.contact_tags.label}</label>
+    <td>
+      <label>{$form.contact_tags.label}</label>
+      <br>
       {$form.contact_tags.html}
     </td>
   {else}
@@ -14,7 +18,9 @@
   {/if}
 
   {if $form.group}
-    <td><label>{$form.group.label}</label>
+    <td>
+      <label>{$form.group.label}</label>
+      <br>
       {$form.group.html}
     </td>
   {else}
   {/if}
 </tr>
 <tr class="crm-event-search-form-block-deleted_contacts">
-  <td>{$form.contact_type.label}&nbsp;&nbsp;{$form.contact_type.html}<br></td>
+  <td>
+    {$form.contact_type.label}
+    <br>
+    {$form.contact_type.html}
+  </td>
   <td>
     {if $form.deleted_contacts}
       {$form.deleted_contacts.html}&nbsp;&nbsp;{$form.deleted_contacts.label}
index 53439c3c8e4e043b02c85191636b4602781f0803..e6ef194d5fae41863df7474f5f25bcbe8a48a03e 100644 (file)
   <td class="crm-event-form-block-event_type_id"> {$form.event_type_id.label}<br />{$form.event_type_id.html} </td>
 </tr>
 <tr>
-  <td colspan="2"><label>{ts}Event Dates{/ts}</label></td>
+  {include file="CRM/Core/DateRange.tpl" fieldName="event" from='_start_date_low' to='_end_date_high' label="<label>Event Dates</label>"}
 </tr>
 <tr>
-{include file="CRM/Core/DateRange.tpl" fieldName="event" from='_start_date_low' to='_end_date_high'}
-</tr>
-<tr>
-  <td><label>{ts}Registration Date{/ts}</label></td>
-</tr>
-<tr>
-{include file="CRM/Core/DateRange.tpl" fieldName="participant" from='_register_date_low' to='_register_date_high'}
+  {include file="CRM/Core/DateRange.tpl" fieldName="participant" from='_register_date_low' to='_register_date_high' label="<label>Registration Date</label>"}
 </tr>
 <tr>
   <td class="crm-event-form-block-participant_status"><label>{$form.participant_status_id.label}</label>