Merge pull request #1260 from aadityawalawalkar/CRM-12994
[civicrm-core.git] / templates / CRM / Campaign / Form / Petition / Signature.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.3 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
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
27
28 <script>
29 {literal}
30
31 if (typeof(cj) === 'undefined') cj = jQuery;
32 {/literal}
33 </script>
34
35 <div id="intro" class="crm-section">{$petition.instructions}</div>
36 <div class="crm-block crm-petition-form-block">
37
38 {if $duplicate == "confirmed"}
39 <p>
40 {ts}You have already signed this petition.{/ts}
41 </p>
42 {/if}
43 {if $duplicate == "unconfirmed"}
44 <p>{ts}You have already signed this petition but you still <b>need to verify your email address</b>.</br>
45 Please check your email inbox for the confirmation email. If you don't find it, verify if it isn't in your spam folder.{/ts}
46 {/if}
47 {if $duplicate}
48 <p>{ts}Thank you for your support.{/ts}</p>
49 {include file="CRM/Campaign/Page/Petition/SocialNetwork.tpl" petition_id=$survey_id petitionTitle=$petitionTitle}
50 {else}
51 <div class="crm-section crm-petition-contact-profile">
52 {include file="CRM/Campaign/Form/Petition/Block.tpl" fields=$petitionContactProfile}
53 </div>
54
55 <div class="crm-section crm-petition-activity-profile">
56 {include file="CRM/Campaign/Form/Petition/Block.tpl" fields=$petitionActivityProfile}
57 </div>
58
59 {if $isCaptcha}
60 {include file='CRM/common/ReCAPTCHA.tpl'}
61 {/if}
62
63 <div class="crm-submit-buttons">
64 {include file="CRM/common/formButtons.tpl" location="bottom"}
65 </div>
66 {/if}
67
68 </div>