2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.3 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 {capture assign=managePremiumsURL}{crmURL p='civicrm/admin/contribute/managePremiums' q="reset=1"}{/capture}
29 <div class="description">
30 <p>{ts 1=$managePremiumsURL}The premiums listed below are currently offered on this Contribution Page. If you have other premiums which are not already being offered on this page, you will see a link below to offer another premium. Use <a href='%1'>Contributions » Premiums</a> to create or enable additional premium choices which can be used on any Contribution page.{/ts}</p>
32 <div class="form-item">
35 <tr class="columnheader">
36 <th>{ts}Name{/ts}</th>
38 <th>{ts}Market Value{/ts}</th>
39 <th>{ts}Min Contribution{/ts}</th>
40 <th>{ts}Financial Type{/ts}</th>
41 <th>{ts}Weight{/ts}</th>
44 {foreach from=$rows item=row}
45 <tr class="{cycle values='odd-row,even-row'} {$row.class}{if NOT $row.is_active} disabled{/if}">
46 <td class="crm-contribution-form-block-product_name">{$row.product_name}</td>
47 <td class="crm-contribution-form-block-sku">{$row.sku}</td>
48 <td class="crm-contribution-form-block-price">{$row.price }</td>
49 <td class="crm-contribution-form-block-min_contribution">{$row.min_contribution}</td>
50 <td class="crm-contribution-form-block-financial_type">{$row.financial_type_id}</td>
51 <td class="nowrap crm-contribution-form-block-weight">{$row.weight}</td>
52 <td class="crm-contribution-form-block-action">{$row.action}</td>
59 <div class="action-link">
60 <a href="{crmURL p='civicrm/admin/contribute/addProductToPage' q="reset=1&action=update&id=$id"}">» {ts}Offer Another Premium on this Contribution Page{/ts}</a>
65 {if $showForm eq false}
66 <div class="messages status no-popup">
67 {if $products ne null }
68 <div class="icon inform-icon"></div>
69 {capture assign=crmURL}{crmURL p='civicrm/admin/contribute/addProductToPage' q="reset=1&action=update&id=$id"}{/capture}
70 {ts 1=$crmURL}There are no premiums offered on this contribution page yet. You can <a href='%1'>add one</a>.{/ts}
72 <div class="icon inform-icon"></div>
73 {ts 1=$managePremiumsURL}There are no active premiums for your site. You can <a href='%1'>create and/or enable premiums here</a>.{/ts}