Skip to content

Commit

Permalink
Merge pull request #11723 from mukeshcompucorp/CRM-21805-fix-fields-a…
Browse files Browse the repository at this point in the history
…nd-labels-in-find-participants

CRM-21805: Fixed fields and labels in find participants
  • Loading branch information
eileenmcnaughton authored Feb 26, 2018
2 parents 29791fd + 1df7ed8 commit e4636fa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
18 changes: 14 additions & 4 deletions templates/CRM/Contact/Form/Search/ContactSearchFields.tpl
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
<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}
<td>&nbsp;</td>
{/if}

{if $form.group}
<td><label>{$form.group.label}</label>
<td>
<label>{$form.group.label}</label>
<br>
{$form.group.html}
</td>
{else}
<td>&nbsp;</td>
{/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}
Expand Down
10 changes: 2 additions & 8 deletions templates/CRM/Event/Form/Search/Common.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,10 @@
<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>
Expand Down

0 comments on commit e4636fa

Please sign in to comment.