CRM-13162 make table for disabled relationships show the same fields as enabled relat...
authoreileen <eileen@fuzion.co.nz>
Tue, 6 Aug 2013 23:25:48 +0000 (11:25 +1200)
committereileen <eileen@fuzion.co.nz>
Tue, 6 Aug 2013 23:25:48 +0000 (11:25 +1200)
templates/CRM/Contact/Page/View/Relationship.tpl

index d95737be5e3af6fce8953780a10cde8233057c69..056310bc76764b6da83591925b6339935f6b0dbe 100644 (file)
         <tr>
             <th>{ts}Relationship{/ts}</th>
             <th></th>
+            <th id="dis-start_date">{ts}Start{/ts}</th>
+            <th id="dis-end_date">{ts}End{/ts}</th>
             <th>{ts}City{/ts}</th>
             <th>{ts}State/Prov{/ts}</th>
+            <th>{ts}Email{/ts}</th>
             <th>{ts}Phone{/ts}</th>
-            <th id="dis-end_date">{ts}End Date{/ts}</th>
             <th></th>
             <th class="hiddenElement"></th>
+            <th class="hiddenElement"></th>
         </tr>
         </thead>
         {foreach from=$inactiveRelationships item=rel}
               {if $rel.description}<p class='description'>{$rel.description}</p>{/if}
             </td>
             <td><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$rel.cid`"}">{$rel.name}</a></td>
-            <td>{$rel.city}</td>
-            <td>{$rel.state}</td>
-            <td>{$rel.phone}</td>
-            <td>{$rel.end_date}</td>
-            <td class="nowrap">{$rel.action|replace:'xx':$rel.id}</td>
-            <td class="dis-end_date hiddenElement">{$rel.end_date|crmDate}</td>
+                <td class="dis-crm-rel-start_date">{$rel.start_date}</td>
+                <td class="dis-crm-rel-end_date">{$rel.end_date}</td>
+                <td>{$rel.city}</td>
+                <td>{$rel.state}</td>
+                <td>{$rel.email}</td>
+                <td>{$rel.phone}</td>
+                <td class="nowrap">{$rel.action|replace:'xx':$rel.id}</td>
+                <td class="dis-start_date hiddenElement">{$rel.start_date|crmDate}</td>
+                <td class="dis-end_date hiddenElement">{$rel.end_date|crmDate}</td>
           </tr>
         {/foreach}
         </table>