dev/core#2141 - "Add Mail Account" - Allow hookable listing of setup links
[civicrm-core.git] / templates / CRM / Admin / Page / Reminders.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
4 | |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
9 *}
10 {* this template is for configuring Scheduled Reminders Table*}
11 {strip}
12 {if $rows and is_array($rows)}
13 {include file="CRM/common/enableDisableApi.tpl"}
14 {include file="CRM/common/jsortable.tpl"}
15 {/if}
16 <table id="scheduleReminders" class="display">
17 <thead>
18 <tr id="options" class="columnheader">
19 <th id="sortable">{ts}Title{/ts}</th>
20 <th >{ts}Reminder For{/ts}</th>
21 <th >{ts}When{/ts}</th>
22 <th >{ts}While{/ts}</th>
23 <th >{ts}Repeat{/ts}</th>
24 <th >{ts}Active?{/ts}</th>
25 <th class="hiddenElement"></th>
26 <th ></th>
27 </tr>
28 </thead>
29 {if $rows and is_array($rows)}
30 {foreach from=$rows item=row}
31 <tr id="action_schedule-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}">
32 <td class="crm-scheduleReminders-title crm-editable" data-field="title">{$row.title}</td>
33 <td class="crm-scheduleReminders-value">{$row.entity} - {$row.value}</td>
34 <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>
35 <td class="crm-scheduleReminders-title">{$row.status}</td>
36 <td class="crm-scheduleReminders-is_repeat">{if $row.is_repeat eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}&nbsp;</td>
37 <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>
38 <td>{$row.action|replace:'xx':$row.id}</td>
39 <td class="hiddenElement"></td>
40 </tr>
41 {/foreach}
42 {else}
43 <tr><td colspan="8">{ts}No Scheduled Reminders have been created.{/ts}</td></tr>
44 {/if}
45 </table>
46 {/strip}
47
48