Merge pull request #1625 from pradpnayak/CRM-13340
[civicrm-core.git] / templates / CRM / HRDCase / Form / CaseActivity.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 {* Template for Case Activity Selector to be shown on Show Case Page *}
27 <table cellpadding="0" cellspacing="0" border="0">
28 <tr class="columnheader">
29 <th field="ActivityType" dataType="String">{ts}Activity Type{/ts}</th>
30 <th>{ts}To{/ts}</th>
31 <th>{ts}From{/ts}</th>
32 <th>{ts}Regarding{/ts}</th>
33 <th>{ts}Case{/ts}</th>
34 <th>{ts}Type{/ts}</th>
35 <th>{ts}Start Date{/ts}</th>
36 <th></th>
37 <th></th>
38 </tr>
39 {foreach from=$activities item=activity}
40 <tr class="{cycle values="odd-row,even-row"}">
41 <td>{$activity.activity_type}</td>
42 <td>{$activity.to_contact}</td>
43 <td>{$activity.sourceName}</td>
44 <td>{$activity.targetName}</td>
45 <td>{$form.subject.html}</td>
46 <td>{$activity.case_activity_type}</td>
47 <td>{$activity.start_date|crmDate}</td>
48 <td class="nowrap">{$activity.action}</td>
49 </tr>
50 {/foreach}
51 </table>