commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Admin / Page / Reminders.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 {* this template is for configuring Scheduled Reminders Table*}
27 {strip}
28 {if $rows and is_array($rows)}
29 {include file="CRM/common/enableDisableApi.tpl"}
30 {include file="CRM/common/jsortable.tpl"}
31 {/if}
32 <table id="scheduleReminders" class="display">
33 <thead>
34 <tr id="options" class="columnheader">
35 <th class="sortable">{ts}Title{/ts}</th>
36 <th >{ts}Reminder For{/ts}</th>
37 <th >{ts}When{/ts}</th>
38 <th >{ts}While{/ts}</th>
39 <th >{ts}Repeat{/ts}</th>
40 <th >{ts}Active?{/ts}</th>
41 <th class="hiddenElement"></th>
42 <th ></th>
43 </tr>
44 </thead>
45 {if $rows and is_array($rows)}
46 {foreach from=$rows item=row}
47 <tr id="action_schedule-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
48 <td class="crm-scheduleReminders-title crm-editable" data-field="title">{$row.title}</td>
49 <td class="crm-scheduleReminders-value">{$row.entity} - {$row.value}</td>
50 <td class="crm-scheduleReminders-description">{if $row.absolute_date}{$row.absolute_date|crmDate}{else}{$row.start_action_offset}&nbsp;{$row.start_action_unit}{if $row.start_action_offset > 1}{ts}(s){/ts}{/if}&nbsp;{$row.start_action_condition}&nbsp;{$row.entityDate}{/if}</td>
51 <td class="crm-scheduleReminders-title">{$row.status}</td>
52 <td class="crm-scheduleReminders-is_repeat">{if $row.is_repeat eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}&nbsp;</td>
53 <td id="row_{$row.id}_status" class="crm-scheduleReminders-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
54 <td>{$row.action|replace:'xx':$row.id}</td>
55 <td class="hiddenElement"></td>
56 </tr>
57 {/foreach}
58 {else}
59 <tr><td colspan="8">{ts}No Scheduled Reminders have been created.{/ts}</td></tr>
60 {/if}
61 </table>
62 {/strip}
63
64