commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Case / Form / Task / Print.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 <p>
27
28 {if $rows }
29 <div class="crm-submit-buttons">
30 <span class="element-right">{include file="CRM/common/formButtons.tpl" location="top"}</span>
31 </div>
32 <div class="spacer"></div>
33 <br />
34 <p>
35 <table>
36 <tr class="columnheader">
37 <th>{ts}Client{/ts}</th>
38 <th>{ts}Status{/ts}</th>
39 <th>{ts}Case Type{/ts}</th>
40 <th>{ts}My Role{/ts}</th>
41 <th>{ts}Most Recent Activity{/ts}</th>
42 <th>{ts}Next Scheduled Activity{/ts}</th>
43 </tr>
44
45 {foreach from=$rows item=row}
46 <tr class="{cycle values="odd-row,even-row"}">
47 <td class="crm-case-print-sort_name">{$row.sort_name}<br /><span class="description">{ts}Case ID{/ts}: {$row.case_id}</span></td>
48 <td class="crm-case-print-case_status_id">{$row.case_status_id}</td>
49 <td class="crm-case-print-case_type_id">{$row.case_type_id}</td>
50 <td class="crm-case-print-case_role">{if $row.case_role}{$row.case_role}{else}---{/if}</td>
51 <td class="crm-case-print-case_recent_activity_type">{if $row.case_recent_activity_type}
52 {$row.case_recent_activity_type}<br />{$row.case_recent_activity_date|crmDate}{else}---{/if}</td>
53 <td class="crm-case-print-case_scheduled_activity_type">{if $row.case_scheduled_activity_type}
54 {$row.case_scheduled_activity_type}<br />{$row.case_scheduled_activity_date|crmDate}{else}---{/if}</td>
55 </tr>
56 {/foreach}
57 </table>
58
59 <div class="crm-submit-buttons">
60 <span class="element-right">{include file="CRM/common/formButtons.tpl" location="bottom"}</span>
61 </div>
62
63 {else}
64 <div class="messages status no-popup">
65 <div class="icon inform-icon"></div>
66 {ts}There are no records selected for Print.{/ts}
67 </div>
68 {/if}