Merge pull request #2619 from pratik-joshi/CRM-13965-qa-fixes
[civicrm-core.git] / templates / CRM / Contact / Page / View / Group.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 <div id="name" class="section-hidden section-hidden-border form-item">
27 <p>
28 <label>{$displayName}</label>
29 </p>
30 </div>
31
32 <div id="groupContact">
33 <p>
34 <div class="form-item">
35 {if $groupCount > 0 }
36 <table>
37 <tr class="columnheader"><th>{ts}Group Listings{/ts}</th><th>{ts}In Date{/ts}</th><th>{ts}Out Date{/ts}</th><th></th></tr>
38 {foreach from=$groupContact item=row}
39 <tr class="{cycle values="odd-row,even-row"}">
40 <td> {$row.name}</td>
41 <td>{$row.in_date|crmDate}</td>
42 <td>{$row.out_date|crmDate}</td>
43 <td><a href="#">{ts}View{/ts}</a></td>
44 </tr>
45 {/foreach}
46 </table>
47 {else}
48 <div class="messages status no-popup">
49 <div class="icon inform-icon"></div> &nbsp;
50 {ts}This contact does not belong to any groups.{/ts}
51 </div>
52 {/if}
53 </div>
54 </p>
55 <span class="float-right">
56 <a href="#">{ts}Add this contact to one or more groups...{/ts}</a>
57 </span>
58
59 </div>