2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
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 +--------------------------------------------------------------------+
10 <div class="view-content">
11 {if $action eq 1 or $action eq 2 or $action eq 8} {* add, update or view *}
12 {include file="CRM/Pledge/Form/Pledge.tpl"}
14 {include file="CRM/Pledge/Form/PledgeView.tpl"}
17 {ts 1=$displayName}Pledges received from %1 since inception.{/ts}
18 {if $permission EQ 'edit'}
19 {capture assign=newContribURL}{crmURL p="civicrm/contact/view/pledge" q="reset=1&action=add&cid=`$contactId`&context=pledge"}{/capture}
20 {capture assign=link}class="action-item" href="{$newContribURL}"{/capture}
21 {ts 1=$link}Click <a %1>Add Pledge</a> to record a new pledge received from this contact.{/ts}
25 {if $action eq 16 and $permission EQ 'edit'}
26 <div class="action-link">
27 <a accesskey="N" href="{$newContribURL}" class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}Add Pledge{/ts}</a></span>
35 {include file="CRM/Pledge/Form/Selector.tpl"}
38 <div class="messages status no-popup">
39 <div class="icon inform-icon"></div>
40 {ts}No pledges have been recorded from this contact.{/ts}
45 <div class="solid-border-top">
46 <br /><label>{ts 1=$displayName}Contributions made in honor of %1{/ts}</label>
48 {include file="CRM/Contribute/Page/ContributionHonor.tpl"}