Merge pull request #5717 from mallezie/extra-space-eventfee-template
[civicrm-core.git] / templates / CRM / Admin / Page / Reminders.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright (C) 2011 Marty Wright |
6 | Licensed to CiviCRM under the Academic Free License version 3.0. |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 *}
27 {* this template is for configuring Scheduled Reminders Table*}
28 {strip}
29 {if $rows and is_array($rows)}
30 {include file="CRM/common/enableDisableApi.tpl"}
31 {include file="CRM/common/jsortable.tpl"}
32 {/if}
33 <table id="scheduleReminders" class="display">
34 <thead>
35 <tr id="options" class="columnheader">
36 <th class="sortable">{ts}Title{/ts}</th>
37 <th >{ts}Reminder For{/ts}</th>
38 <th >{ts}When{/ts}</th>
39 <th >{ts}While{/ts}</th>
40 <th >{ts}Repeat{/ts}</th>
41 <th >{ts}Active?{/ts}</th>
42 <th class="hiddenElement"></th>
43 <th ></th>
44 </tr>
45 </thead>
46 {if $rows and is_array($rows)}
47 {foreach from=$rows item=row}
48 <tr id="action_schedule-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
49 <td class="crm-scheduleReminders-title crm-editable" data-field="title">{$row.title}</td>
50 <td class="crm-scheduleReminders-value">{$row.entity} - {$row.value}</td>
51 <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>
52 <td class="crm-scheduleReminders-title">{$row.status}</td>
53 <td class="crm-scheduleReminders-is_repeat">{if $row.is_repeat eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}&nbsp;</td>
54 <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>
55 <td>{$row.action|replace:'xx':$row.id}</td>
56 <td class="hiddenElement"></td>
57 </tr>
58 {/foreach}
59 {else}
60 <tr><td colspan="8">{ts}No Scheduled Reminders have been created.{/ts}</td></tr>
61 {/if}
62 </table>
63 {/strip}
64
65