CRM-21599-add-missing-structure-in-templates
authorMukesh Ram <mukesh@compucorp.co.uk>
Tue, 26 Dec 2017 09:34:27 +0000 (15:04 +0530)
committerMukesh Ram <mukesh@compucorp.co.uk>
Tue, 26 Dec 2017 09:34:27 +0000 (15:04 +0530)
templates/CRM/Admin/Page/LocationType.tpl
templates/CRM/Event/Form/SearchEvent.tpl

index 1f13afa293e7ef5a3773bc691de3119318929ee6..c2d58ff333760aef691f0ffb9156af5c9e1afa43 100644 (file)
@@ -30,6 +30,7 @@
     {ts}Location types provide convenient labels to differentiate contacts' location(s). Administrators may define as many additional types as appropriate for your constituents (examples might be Main Office, School, Vacation Home...).{/ts}
   </div>
 
+<div class="crm-block crm-content-block">
   {if $rows}
   <div id="ltype">
     {strip}
     {include file="CRM/common/jsortable.tpl"}
     <table id="options" class="display">
     <thead>
-    <tr>
-        <th id="sortable">{ts}Name{/ts}</th>
-        <th>{ts}Display Name{/ts}</th>
-        <th>{ts}vCard{/ts}</th>
-        <th id="nosort">{ts}Description{/ts}</th>
-        <th>{ts}Enabled?{/ts}</th>
-        <th>{ts}Default?{/ts}</th>
-        <th></th>
-    </tr>
+      <tr>
+          <th id="sortable">{ts}Name{/ts}</th>
+          <th>{ts}Display Name{/ts}</th>
+          <th>{ts}vCard{/ts}</th>
+          <th id="nosort">{ts}Description{/ts}</th>
+          <th>{ts}Enabled?{/ts}</th>
+          <th>{ts}Default?{/ts}</th>
+          <th></th>
+      </tr>
     </thead>
     {foreach from=$rows item=row}
     <tr id="location_type-{$row.id}"  data-action="setvalue" class="{cycle values="odd-row,even-row"} {$row.class} crm-entity {if NOT $row.is_active} disabled{/if}">
@@ -72,4 +73,5 @@
     {crmButton q="action=add&reset=1" id="newLocationType" icon="plus-circle"}{ts}Add Option{/ts}{/crmButton}
     {crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
   </div>
+</div>
 {/if}
index 042e6f4d2be19fc54d080bb1fe2e32093b68bbdd..7491d3b168cabd5c28b0897b54992450b5fececd 100644 (file)
  <h3>{ts}Find Events{/ts}</h3>
   <table class="form-layout">
     <tr class="crm-event-searchevent-form-block-title">
-        <td>{$form.title.html|crmAddClass:twenty}
-             <div class="description font-italic">
-                    {ts}Complete OR partial Event name.{/ts}
-             </div>
-             <div style="height: auto; vertical-align: bottom">{$form.eventsByDates.html}</div>
+        <td>
+          <label>{ts}Event Nanme{/ts}</label>
+          {$form.title.html|crmAddClass:twenty}
+          <div class="description font-italic">
+                 {ts}Complete OR partial Event name.{/ts}
+          </div>
+          <div style="height: auto; vertical-align: bottom">{$form.eventsByDates.html}</div>
         </td>
         <td rowspan="2"><label>{ts}Event Type{/ts}</label>
           {$form.event_type_id.html}