typo
[org.fsf.memberdashboard.git] / templates / CRM / Memberdashboard / Page / MemberDashboard.tpl
CommitLineData
6001543d
DT
1{*
2 FSF Member Dashboard
3 Copyright © 2014 Free Software Foundation, Inc.
4
5 This file is a part of FSF Member Dashboard.
6
7 FSF Member Dashboard is free software: you can redistribute it
8 and/or modify it under the terms of the GNU Affero General Public
9 License as published by the Free Software Foundation, either version
10 3 of the License, or (at your option) any later version.
11
12 FSF Member Dashboard is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with FSF Member Dashboard. If not, see
9015e289 19 <https://www.gnu.org/licenses/>.
6001543d
DT
20*}
21
2fabfc16
DT
22{include file="CRM/Memberdashboard/Page/DashboardElement.tpl"
23 element=$dashboardElements.CiviMember }
24
25{include file="CRM/Memberdashboard/Page/DashboardElement.tpl"
26 element=$dashboardElements.CiviContribute }
f6f92366 27
2ca094ea 28<div class="header-dark">Referrer Link</div>
446e633e 29<p>This is your personal referral link. When someone uses your link to become an FSF associate member, we will know you referred them: <a href="https://my.fsf.org/join?referrer={$contactId}">https://my.fsf.org/join?referrer={$contactId}</a></p>
2ca094ea 30
f6f92366
DT
31<div>
32 <div class="header-dark">Personal Campaign Page(s)</div>
33 <div class="view-content">
34 {if count($campaignPages) == 0}
35 <div class="messages status no-popup">
36 <div class="icon inform-icon"></div>
37 There are no personal campaign pages on record for you.
38 </div>
39 {else}
40 <table>
41 <thead>
42 <tr>
43 <th>Title</th>
44 <th>Active?</th>
45 <th>Honor roll enabled?</th>
46 </tr>
47 </thead>
48 <tbody>
49 {foreach from=$campaignPages item=page}
50 <tr>
51 <td>
52 <a href="{crmURL p="civicrm/pcp/info" q="reset=1&id=`$page.id`"}">
53 {$page.title}
54 </a>
55 </td>
56 <td>
57 {if $page.is_active}Yes{else}No{/if}
58 </td>
59 <td>
60 {if $page.is_honor_roll}Yes{else}No{/if}
61 </td>
62 </tr>
63 {/foreach}
64 </tbody>
65 </table>
66 {/if}
67 </div>
68</div>