Commit | Line | Data |
---|---|---|
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 | {*display primary Participant Profile Information*} | |
27 | {if $primaryParticipantProfile} | |
28 | <div class="crm-group participant_info-group"> | |
29 | <div class="header-dark">{if $addParticipantProfile}{ts}Participant 1{/ts}{else}{ts}Participant Information{/ts}{/if}</div> | |
30 | {if $primaryParticipantProfile.CustomPre} | |
31 | <fieldset class="label-left no-border"><div class="bold crm-profile-view-title">{$primaryParticipantProfile.CustomPreGroupTitle}</div> | |
32 | {foreach from=$primaryParticipantProfile.CustomPre item=value key=field} | |
33 | <div class="crm-section {$field}-section"> | |
34 | <div class="label">{$field}</div> | |
35 | <div class="content">{$value}</div> | |
36 | <div class="clear"></div> | |
37 | </div> | |
38 | {/foreach} | |
39 | </fieldset> | |
40 | {/if} | |
41 | {if $primaryParticipantProfile.CustomPost} | |
42 | {foreach from=$primaryParticipantProfile.CustomPost item=value key=field} | |
43 | <fieldset class="label-left no-border"><div class="bold crm-profile-view-title">{$primaryParticipantProfile.CustomPostGroupTitle.$field.groupTitle}</div> | |
a17a96df | 44 | <div class="crm-profile-view"> |
6a488035 | 45 | {foreach from=$primaryParticipantProfile.CustomPost.$field item=value key=field} |
a17a96df DG |
46 | <div class="crm-section {$field}-section"> |
47 | <div class="label">{$field}</div> | |
48 | <div class="content">{$value}</div> | |
49 | <div class="clear"></div> | |
50 | </div> | |
6a488035 | 51 | {/foreach} |
a17a96df | 52 | </div> |
6a488035 TO |
53 | </fieldset> |
54 | {/foreach} | |
55 | {/if} | |
56 | </div> | |
57 | <div class="spacer"></div> | |
58 | {/if} | |
59 | ||
60 | {*display Additional Participant Profile Information*} | |
61 | {if $addParticipantProfile} | |
62 | {foreach from=$addParticipantProfile item=participant key=participantNo} | |
63 | <div class="crm-group participant_info-group"> | |
64 | <div class="header-dark"> | |
65 | {ts 1=$participantNo}Participant %1{/ts} | |
66 | </div> | |
67 | {if $participant.additionalCustomPre} | |
a17a96df DG |
68 | <fieldset class="label-left no-border"><div class="bold crm-additional-profile-view-title">{$participant.additionalCustomPreGroupTitle}</div> |
69 | <div class="crm-profile-view"> | |
70 | {foreach from=$participant.additionalCustomPre item=value key=field} | |
71 | <div class="crm-section {$field}-section"> | |
72 | <div class="label">{$field}</div> | |
73 | <div class="content">{$value}</div> | |
74 | <div class="clear"></div> | |
75 | </div> | |
76 | {/foreach} | |
77 | </div> | |
78 | </fieldset> | |
6a488035 TO |
79 | {/if} |
80 | ||
81 | {if $participant.additionalCustomPost} | |
a17a96df DG |
82 | {foreach from=$participant.additionalCustomPost item=value key=field} |
83 | <fieldset class="label-left no-border"><div class="bold crm-additional-profile-view-title">{$participant.additionalCustomPostGroupTitle.$field.groupTitle}</div> | |
84 | <div class="crm-profile-view"> | |
85 | {foreach from=$participant.additionalCustomPost.$field item=value key=field} | |
86 | <div class="crm-section {$field}-section"> | |
87 | <div class="label">{$field}</div> | |
88 | <div class="content">{$value}</div> | |
89 | <div class="clear"></div> | |
90 | </div> | |
91 | {/foreach} | |
92 | </div> | |
93 | </fieldset> | |
94 | {/foreach} | |
6a488035 TO |
95 | {/if} |
96 | </div> | |
97 | <div class="spacer"></div> | |
98 | {/foreach} | |
232624b1 | 99 | {/if} |