2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2014 |
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 {* CiviMember DashBoard (launch page) *}
27 {if $membershipSummary}
28 <h3>{ts}Membership Summary{/ts} {help id="id-member-intro"}</h3>
29 <table class="report">
30 <tr class="columnheader-dark">
31 <th scope="col" rowspan="2">{ts}Members by Type{/ts}</th>
33 <th scope="col" colspan="3">{$premonth} – {ts}(Last Month){/ts}</th>
35 <th scope="col" colspan="3">{$month}{if $isCurrent}{ts} (MTD){/ts}{/if}</th>
36 <th scope="col" colspan="3">
37 {if $year eq $currentYear}
38 {$year} {ts}(YTD){/ts}
40 {$year} {ts 1=$month}through %1{/ts}
43 <th scope="col" rowspan="2">
47 {ts 1=$month 2=$year}Members as of %1 %2{/ts}
52 <tr class="columnheader-dark">
54 <th scope="col">{ts}New{/ts}</th><th scope="col">{ts}Renew{/ts}</th><th scope="col">{ts}Total{/ts}</th>
56 <th scope="col">{ts}New{/ts}</th><th scope="col">{ts}Renew{/ts}</th><th scope="col">{ts}Total{/ts}</th>
57 <th scope="col">{ts}New{/ts}</th><th scope="col">{ts}Renew{/ts}</th><th scope="col">{ts}Total{/ts}</th>
60 {foreach from=$membershipSummary item=row}
62 <td><strong>{$row.month.total.name}</strong></td>
65 {if $row.premonth.new.url}<a href="{$row.premonth.new.url}" title="view details">{$row.premonth.new.count}</a>
66 {else}{$row.premonth.new.count}{/if}
69 {if $row.premonth.renew.url}<a href="{$row.premonth.renew.url}" title="view details">{$row.premonth.renew.count}</a>
70 {else}{$row.premonth.renew.count}{/if}
73 {if $row.premonth.total.url}
74 <a href="{$row.premonth.total.url}" title="view details">{$row.premonth.total.count}</a>
76 {$row.premonth.total.count}
78 {if $row.premonth_owner.premonth_owner.url}
79 <a href="{$row.premonth_owner.premonth_owner.url}" title="view details">{$row.premonth_owner.premonth_owner.count}</a>
81 {$row.premonth_owner.premonth_owner.count}
87 {if $row.month.new.url}<a href="{$row.month.new.url}" title="view details">{$row.month.new.count}</a>
88 {else}{$row.month.new.count}{/if}
91 {if $row.month.renew.url}<a href="{$row.month.renew.url}" title="view details">{$row.month.renew.count}</a>
92 {else}{$row.month.renew.count}{/if}
95 {if $row.month.total.url}
96 <a href="{$row.month.total.url}" title="view details">{$row.month.total.count}</a>
98 {$row.month.total.count}
100 {if $row.month_owner.month_owner.url}
101 <a href="{$row.month_owner.month_owner.url}" title="view details">{$row.month_owner.month_owner.count}</a>
103 {$row.month_owner.month_owner.count}
108 {if $row.year.new.url}<a href="{$row.year.new.url}" title="view details">{$row.year.new.count}</a>
109 {else}{$row.year.new.count}{/if}
112 {if $row.year.renew.url}<a href="{$row.year.renew.url}" title="view details">{$row.year.renew.count}</a>
113 {else}{$row.year.renew.count}{/if}
116 {if $row.year.total.url}
117 <a href="{$row.year.total.url}" title="view details">{$row.year.total.count}</a>
119 {$row.year.total.count}
121 {if $row.year_owner.year_owner.url}
122 <a href="{$row.year_owner.year_owner.url}" title="view details">{$row.year_owner.year_owner.count}</a>
124 {$row.year_owner.year_owner.count}
130 {if $row.current.total.url}
131 <a href="{$row.current.total.url}" title="view details">{$row.current.total.count}</a>
133 {$row.current.total.count}
135 {if $row.current_owner.current_owner.url}
136 <a href="{$row.current_owner.current_owner.url}" title="view details">{$row.current_owner.current_owner.count}</a>
138 {$row.current_owner.current_owner.count}
141 {if $row.total.total.url}
142 <a href="{$row.total.total.url}" title="view details">{$row.total.total.count}</a>
144 {$row.total.total.count}
146 {if $row.total_owner.total_owner.url}
147 <a href="{$row.total_owner.total_owner.url}" title="view details">{$row.total_owner.total_owner.count}</a>
149 {$row.total_owner.total_owner.count}
152 </td> {* member/search?reset=1&force=1&membership_type_id=1¤t=1 *}
156 <tr class="columnfooter">
157 <td><strong>{ts}Totals (all types){/ts}</strong></td>
160 {if $totalCount.premonth.new.url}<a href="{$totalCount.premonth.new.url}" title="view details">{$totalCount.premonth.new.count}</a>
161 {else}{$totalCount.premonth.new.count}{/if}
164 {if $totalCount.premonth.renew.url}<a href="{$totalCount.premonth.renew.url}" title="view details">{$totalCount.premonth.renew.count}</a>
165 {else}{$totalCount.premonth.renew.count}{/if}
168 {if $totalCount.premonth.total.url}
169 <a href="{$totalCount.premonth.total.url}" title="view details">{$totalCount.premonth.total.count}</a>
171 {$totalCount.premonth.total.count}
173 {if $totalCount.premonth_owner.premonth_owner.url}
174 <a href="{$totalCount.premonth_owner.premonth_owner.url}" title="view details">{$totalCount.premonth_owner.premonth_owner.count}</a>
176 {$totalCount.premonth_owner.premonth_owner.count}
182 {if $totalCount.month.new.url}<a href="{$totalCount.month.new.url}" title="view details">{$totalCount.month.new.count}</a>
183 {else}{$totalCount.month.new.count}{/if}
186 {if $totalCount.month.renew.url}<a href="{$totalCount.month.renew.url}" title="view details">{$totalCount.month.renew.count}</a>
187 {else}{$totalCount.month.renew.count}{/if}
190 {if $totalCount.month.total.url}
191 <a href="{$totalCount.month.total.url}" title="view details">{$totalCount.month.total.count}</a>
193 {$totalCount.month.total.count}
195 {if $totalCount.month_owner.month_owner.url}
196 <a href="{$totalCount.month_owner.month_owner.url}" title="view details">{$totalCount.month_owner.month_owner.count}</a>
198 {$totalCount.month_owner.month_owner.count}
203 {if $totalCount.year.new.url}<a href="{$totalCount.year.new.url}" title="view details">{$totalCount.year.new.count}</a>
204 {else}{$totalCount.year.new.count}{/if}
207 {if $totalCount.year.renew.url}<a href="{$totalCount.year.renew.url}" title="view details">{$totalCount.year.renew.count}</a>
208 {else}{$totalCount.year.renew.count}{/if}
211 {if $totalCount.year.total.url}
212 <a href="{$totalCount.year.total.url}" title="view details">{$totalCount.year.total.count}</a>
214 {$totalCount.year.total.count}
216 {if $totalCount.year_owner.year_owner.url}
217 <a href="{$totalCount.year_owner.year_owner.url}" title="view details">{$totalCount.year_owner.year_owner.count}</a>
219 {$totalCount.year_owner.year_owner.count}
225 {if $row.total.total.url}
226 <a href="{$row.total.total.url}" title="view details">{$totalCount.current.total.count}</a>
228 {$totalCount.current.total.count}
230 {if $row.total_owner.total_owner.url}
231 <a href="{$row.total_owner.total_owner.url}" title="view details">{$totalCount.current_owner.current_owner.count}</a>
233 {$totalCount.current_owner.current_owner.count}
236 {if $totalCount.total.url}
237 <a href="{$totalCount.total.url}" title="view details">{$totalCount.total.total.count}</a>
239 {$totalCount.total.total.count}
241 {if $totalCount.total_owner.total_owner.url}
242 <a href="{$totalCount.total_owner.total_owner.url}" title="view details">{$totalCount.total_owner.total_owner.count}</a>
244 {$totalCount.total_owner.total_owner.count}
250 <tr><td colspan='11'>
251 Primary member counts (those who "own" the membership rather than receiving via relationship) are in [brackets].
255 <div class="spacer"></div>
258 {* if $pager->_totalItems *}
259 <h3>{ts}Recent Memberships{/ts}</h3>
260 <div class="form-item">
261 { include file="CRM/Member/Form/Selector.tpl" context="dashboard" }