Merge pull request #15778 from agh1/reminder-do-not-email-test
[civicrm-core.git] / templates / CRM / Admin / Page / PaymentProcessorType.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
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 |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
f6eedce7 10<div class="help">
670321f6 11 {ts}Payment Processor configurations for all payment processors that can be used in this installation of CiviCRM.{/ts}
6a488035
TO
12</div>
13
14{if $action eq 1 or $action eq 2 or $action eq 8}
15 {include file="CRM/Admin/Form/PaymentProcessorType.tpl"}
16{else}
17
18{if $rows}
19<div id="ltype">
20<p></p>
21 <div class="form-item">
22 {strip}
4d17a233 23 {include file="CRM/common/enableDisableApi.tpl"}
6a488035
TO
24 <table cellpadding="0" cellspacing="0" border="0">
25 <tr class="columnheader">
26 <th>{ts}Name{/ts}</th>
27 <th>{ts}Title{/ts}</th>
28 <th>{ts}Description{/ts}</th>
29 <th>{ts}Enabled?{/ts}</th>
30 <th>{ts}Default?{/ts}</th>
31 <th></th>
32 </tr>
33 {foreach from=$rows item=row}
4d17a233 34 <tr id="paymentProcessorType-{$row.id}" class="{cycle values="odd-row,even-row"} {$row.class} crm-entity {if NOT $row.is_active} disabled{/if}">
6a488035 35 <td class="crm-paymentProcessorType-name">{$row.name}</td>
4d17a233 36 <td class="crm-paymentProcessorType-title crm-editable" data-field="title">{$row.title}</td>
6a488035
TO
37 <td class="crm-paymentProcessorType-description">{$row.description}</td>
38 <td id="row_{$row.id}_status" class="crm-paymentProcessorType-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
39 <td class="crm-paymentProcessorType-is_default">{if $row.is_default eq 1}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if}&nbsp;</td>
40 <td>{$row.action}</td>
41 </tr>
42 {/foreach}
43 </table>
44 {/strip}
45
46 {if $action ne 1 and $action ne 2}
e5e8ab99
CW
47 <div class="action-link">
48 <a href="{crmURL q="action=add&reset=1"}" id="newPaymentProcessor">&raquo; {ts}New Payment Processor{/ts}</a>
80bc2820 49 {crmButton p="civicrm/admin" q="reset=1" class="cancel" icon="times"}{ts}Done{/ts}{/crmButton}
6a488035
TO
50 </div>
51 {/if}
52 </div>
53</div>
54{elseif $action ne 1}
55 <div class="messages status no-popup">
e5e8ab99
CW
56 <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
57 {ts}None found.{/ts}
6a488035
TO
58 </div>
59{/if}
232624b1 60{/if}