Merge pull request #17981 from eileenmcnaughton/merge_form
[civicrm-core.git] / templates / CRM / Contact / Page / View / Group.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10<div id="name" class="section-hidden section-hidden-border form-item">
11 <p>
12 <label>{$displayName}</label>
13 </p>
14</div>
15
16<div id="groupContact">
17 <p>
18 <div class="form-item">
19 {if $groupCount > 0 }
20 <table>
21 <tr class="columnheader"><th>{ts}Group Listings{/ts}</th><th>{ts}In Date{/ts}</th><th>{ts}Out Date{/ts}</th><th></th></tr>
22 {foreach from=$groupContact item=row}
23 <tr class="{cycle values="odd-row,even-row"}">
24 <td> {$row.name}</td>
25 <td>{$row.in_date|crmDate}</td>
26 <td>{$row.out_date|crmDate}</td>
27 <td><a href="#">{ts}View{/ts}</a></td>
28 </tr>
29 {/foreach}
30 </table>
31 {else}
32 <div class="messages status no-popup">
34d6cec4 33 {icon icon="fa-info-circle"}{/icon}
6a488035
TO
34 {ts}This contact does not belong to any groups.{/ts}
35 </div>
36 {/if}
37 </div>
38 </p>
39 <span class="float-right">
40 <a href="#">{ts}Add this contact to one or more groups...{/ts}</a>
41 </span>
42
43</div>