CRM-16415 - Use crmButton on contact summary screen
[civicrm-core.git] / templates / CRM / Contribute / Form / ContributionPage / Tab.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
2c4c49ca 3 | CiviCRM version 4.7 |
6a488035 4 +--------------------------------------------------------------------+
e7112fa7 5 | Copyright CiviCRM LLC (c) 2004-2015 |
6a488035
TO
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
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. |
12 | |
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. |
17 | |
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 +--------------------------------------------------------------------+
25*}
26{* TabHeader.tpl provides a tabbed interface well as title for current step *}
27<div class="crm-actions-ribbon crm-contribpage-tab-actions-ribbon">
28 <ul id="actions">
29 <li><div id="crm-contribpage-links-wrapper">
30 <a id="crm-contribpage-links-link" class="button">
c84ebd15 31 <span><i class="crm-i fa-bars"></i> {ts}Contribution Links{/ts}</span>
6a488035
TO
32 </a>
33 <div class="ac_results" id="crm-contribpage-links-list">
34 <div class="crm-contribpage-links-list-inner">
35 <ul>
36 <li><a class="crm-contribpage-contribution" href="{crmURL p='civicrm/contribute/add' q="reset=1&action=add&context=standalone"}">{ts}New Contribution{/ts}</a></li>
37 <li><a class="crm-contribution-test" href="{crmURL p='civicrm/contribute/transact' q="reset=1&action=preview&id=`$contributionPageID`"}">{ts}Online Contribution (Test-drive){/ts}</a></li>
38 <li><a class="crm-contribution-live" href="{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageID`" fe='true'}" target="_blank">{ts}Online Contribution (Live){/ts}</a></li>
39 </ul>
40 </div>
41 </div>
42 </div></li>
43 <div>
44 {help id="id-configure-contrib-pages"}
45 </div>
46 </ul>
47 <div class="clear"></div>
48</div>
49{include file="CRM/common/TabHeader.tpl"}
50
51{literal}
52<script>
53
54cj('body').click(function() {
55 cj('#crm-contribpage-links-list').hide();
56});
57
58cj('#crm-contribpage-links-link').click(function(event) {
59 cj('#crm-contribpage-links-list').toggle();
60 event.stopPropagation();
61 return false;
62});
63
64</script>
65{/literal}