Skip to content

Commit

Permalink
Merge pull request #11839 from mukeshcompucorp/fix-template-structure…
Browse files Browse the repository at this point in the history
…-issues

Fix template structure issues
  • Loading branch information
colemanw authored Mar 20, 2018
2 parents 52fab18 + 94d4ec0 commit 09f2c73
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/CRM/Activity/Selector/Selector.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<td class="crm-contact-form-block-activity_type_exclude_filter_id crm-inline-edit-field">
{$form.activity_type_exclude_filter_id.label}<br /> {$form.activity_type_exclude_filter_id.html|crmAddClass:medium}
</td>
{include file="CRM/Core/DateRange.tpl" fieldName="activity_date" from='_low' to='_high' label='Date'}
{include file="CRM/Core/DateRange.tpl" fieldName="activity_date" from='_low' to='_high' label='<label>Date</label>'}
<td class="crm-contact-form-block-activity_status_filter_id crm-inline-edit-field">
{ts}Status{/ts}<br /> {$form.status_id.html|crmAddClass:medium}
<label>{ts}Status{/ts}</label><br /> {$form.status_id.html|crmAddClass:medium}
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/Contact/Form/Edit/TagsAndGroups.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<td>
{if $groupElementType eq 'select'}
<div class="crm-section group-section">
{if $title}{$form.group.label}{/if}
{if $title}{$form.group.label}<br>{/if}
{$form.group.html}
</div>
{else}
Expand Down
3 changes: 2 additions & 1 deletion templates/CRM/Contribute/Form/ContributionPage/Settings.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
+--------------------------------------------------------------------+
*}
{crmRegion name="contribute-form-contributionpage-settings-main"}
<div class="crm-block crm-form-block crm-contribution-contributionpage-settings-form-block">
<div class="help">
{if $action eq 0}
<p>{ts}This is the first step in creating a new online Contribution Page. You can create one or more different Contribution Pages for different purposes, audiences, campaigns, etc. Each page can have it's own introductory message, pre-configured contribution amounts, custom data collection fields, etc.{/ts}</p>
Expand All @@ -34,6 +33,8 @@
{ts}Use this form to edit the page title, financial type (e.g. donation, campaign contribution, etc.), goal amount, introduction, and status (active/inactive) for this online contribution page.{/ts}
{/if}
</div>
<div class="crm-block crm-form-block crm-contribution-contributionpage-settings-form-block">

<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
<table class="form-layout-compressed">
<tr class="crm-contribution-contributionpage-settings-form-block-title"><td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='title' id=$contributionPageID}{/if}</td><td>{$form.title.html}<br/>
Expand Down
6 changes: 5 additions & 1 deletion templates/CRM/Contribute/Form/Selector.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
{if !$single and $context eq 'Search' }
<th scope="col" title="Select Rows">{$form.toggleSelect.html}</th>
{/if}
{if !$single}
<th scope="col"></th>
{/if}
{foreach from=$columnHeaders item=header}
<th scope="col">
{if $header.sort}
Expand All @@ -56,7 +59,8 @@
{assign var=cbName value=$row.checkbox}
<td>{$form.$cbName.html}</td>
{/if}
<td>{$row.contact_type} &nbsp; <a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$row.contact_id`"}">{$row.sort_name}</a></td>
<td>{$row.contact_type}</td>
<td><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$row.contact_id`"}">{$row.sort_name}</a></td>
{/if}
<td class="crm-contribution-amount">
{if !$row.contribution_soft_credit_amount}
Expand Down

0 comments on commit 09f2c73

Please sign in to comment.