2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
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 <h3>{ts}Membership Summary{/ts} {help id="id-member-intro"}</h3>
28 <table class="report">
29 <tr class="columnheader-dark">
30 <th scope="col" rowspan="2">{ts}Members by Type{/ts}</th>
32 <th scope="col" colspan="3">{$premonth} – {ts}(Last Month){/ts}</th>
34 <th scope="col" colspan="3">{$month}{if $isCurrent}{ts} (MTD){/ts}{/if}</th>
35 <th scope="col" colspan="3">
36 {if $year eq $currentYear}
37 {$year} {ts}(YTD){/ts}
39 {$year} {ts 1=$month}through %1{/ts}
42 <th scope="col" rowspan="2">
46 {ts 1=$month 2=$year}Members as of %1 %2{/ts}
51 <tr class="columnheader-dark">
53 <th scope="col">{ts}New{/ts}</th><th scope="col">{ts}Renew{/ts}</th><th scope="col">{ts}Total{/ts}</th>
55 <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>
59 {foreach from=$membershipSummary item=row}
61 <td><strong>{$row.month.total.name}</strong></td>
64 {if $row.premonth.new.url}<a href="{$row.premonth.new.url}" title="view details">{$row.premonth.new.count}</a>
65 {else}{$row.premonth.new.count}{/if}
68 {if $row.premonth.renew.url}<a href="{$row.premonth.renew.url}" title="view details">{$row.premonth.renew.count}</a>
69 {else}{$row.premonth.renew.count}{/if}
72 {if $row.premonth.total.url}
73 <a href="{$row.premonth.total.url}" title="view details">{$row.premonth.total.count}</a>
75 {$row.premonth.total.count}
77 {if $row.premonth_owner.premonth_owner.url}
78 <a href="{$row.premonth_owner.premonth_owner.url}" title="view details">{$row.premonth_owner.premonth_owner.count}</a>
80 {$row.premonth_owner.premonth_owner.count}
86 {if $row.month.new.url}<a href="{$row.month.new.url}" title="view details">{$row.month.new.count}</a>
87 {else}{$row.month.new.count}{/if}
90 {if $row.month.renew.url}<a href="{$row.month.renew.url}" title="view details">{$row.month.renew.count}</a>
91 {else}{$row.month.renew.count}{/if}
94 {if $row.month.total.url}
95 <a href="{$row.month.total.url}" title="view details">{$row.month.total.count}</a>
97 {$row.month.total.count}
99 {if $row.month_owner.month_owner.url}
100 <a href="{$row.month_owner.month_owner.url}" title="view details">{$row.month_owner.month_owner.count}</a>
102 {$row.month_owner.month_owner.count}
107 {if $row.year.new.url}<a href="{$row.year.new.url}" title="view details">{$row.year.new.count}</a>
108 {else}{$row.year.new.count}{/if}
111 {if $row.year.renew.url}<a href="{$row.year.renew.url}" title="view details">{$row.year.renew.count}</a>
112 {else}{$row.year.renew.count}{/if}
115 {if $row.year.total.url}
116 <a href="{$row.year.total.url}" title="view details">{$row.year.total.count}</a>
118 {$row.year.total.count}
120 {if $row.year_owner.year_owner.url}
121 <a href="{$row.year_owner.year_owner.url}" title="view details">{$row.year_owner.year_owner.count}</a>
123 {$row.year_owner.year_owner.count}
129 {if $row.current.total.url}
130 <a href="{$row.current.total.url}" title="view details">{$row.current.total.count}</a>
132 {$row.current.total.count}
134 {if $row.current_owner.current_owner.url}
135 <a href="{$row.current_owner.current_owner.url}" title="view details">{$row.current_owner.current_owner.count}</a>
137 {$row.current_owner.current_owner.count}
140 {if $row.total.total.url}
141 <a href="{$row.total.total.url}" title="view details">{$row.total.total.count}</a>
143 {$row.total.total.count}
145 {if $row.total_owner.total_owner.url}
146 <a href="{$row.total_owner.total_owner.url}" title="view details">{$row.total_owner.total_owner.count}</a>
148 {$row.total_owner.total_owner.count}
151 </td> {* member/search?reset=1&force=1&membership_type_id=1¤t=1 *}
155 <tr class="columnfooter">
156 <td><strong>{ts}Totals (all types){/ts}</strong></td>
159 {if $totalCount.premonth.new.url}<a href="{$totalCount.premonth.new.url}" title="view details">{$totalCount.premonth.new.count}</a>
160 {else}{$totalCount.premonth.new.count}{/if}
163 {if $totalCount.premonth.renew.url}<a href="{$totalCount.premonth.renew.url}" title="view details">{$totalCount.premonth.renew.count}</a>
164 {else}{$totalCount.premonth.renew.count}{/if}
167 {if $totalCount.premonth.total.url}
168 <a href="{$totalCount.premonth.total.url}" title="view details">{$totalCount.premonth.total.count}</a>
170 {$totalCount.premonth.total.count}
172 {if $totalCount.premonth_owner.premonth_owner.url}
173 <a href="{$totalCount.premonth_owner.premonth_owner.url}" title="view details">{$totalCount.premonth_owner.premonth_owner.count}</a>
175 {$totalCount.premonth_owner.premonth_owner.count}
181 {if $totalCount.month.new.url}<a href="{$totalCount.month.new.url}" title="view details">{$totalCount.month.new.count}</a>
182 {else}{$totalCount.month.new.count}{/if}
185 {if $totalCount.month.renew.url}<a href="{$totalCount.month.renew.url}" title="view details">{$totalCount.month.renew.count}</a>
186 {else}{$totalCount.month.renew.count}{/if}
189 {if $totalCount.month.total.url}
190 <a href="{$totalCount.month.total.url}" title="view details">{$totalCount.month.total.count}</a>
192 {$totalCount.month.total.count}
194 {if $totalCount.month_owner.month_owner.url}
195 <a href="{$totalCount.month_owner.month_owner.url}" title="view details">{$totalCount.month_owner.month_owner.count}</a>
197 {$totalCount.month_owner.month_owner.count}
202 {if $totalCount.year.new.url}<a href="{$totalCount.year.new.url}" title="view details">{$totalCount.year.new.count}</a>
203 {else}{$totalCount.year.new.count}{/if}
206 {if $totalCount.year.renew.url}<a href="{$totalCount.year.renew.url}" title="view details">{$totalCount.year.renew.count}</a>
207 {else}{$totalCount.year.renew.count}{/if}
210 {if $totalCount.year.total.url}
211 <a href="{$totalCount.year.total.url}" title="view details">{$totalCount.year.total.count}</a>
213 {$totalCount.year.total.count}
215 {if $totalCount.year_owner.year_owner.url}
216 <a href="{$totalCount.year_owner.year_owner.url}" title="view details">{$totalCount.year_owner.year_owner.count}</a>
218 {$totalCount.year_owner.year_owner.count}
224 {if $row.total.total.url}
225 <a href="{$row.total.total.url}" title="view details">{$totalCount.current.total.count}</a>
227 {$totalCount.current.total.count}
229 {if $row.total_owner.total_owner.url}
230 <a href="{$row.total_owner.total_owner.url}" title="view details">{$totalCount.current_owner.current_owner.count}</a>
232 {$totalCount.current_owner.current_owner.count}
235 {if $totalCount.total.url}
236 <a href="{$totalCount.total.url}" title="view details">{$totalCount.total.total.count}</a>
238 {$totalCount.total.total.count}
240 {if $totalCount.total_owner.total_owner.url}
241 <a href="{$totalCount.total_owner.total_owner.url}" title="view details">{$totalCount.total_owner.total_owner.count}</a>
243 {$totalCount.total_owner.total_owner.count}
249 <tr><td colspan='11'>
250 Primary member counts (those who "own" the membership rather than receiving via relationship) are in [brackets].
254 <div class="spacer"></div>
257 {* if $pager->_totalItems *}
258 <h3>{ts}Recent Memberships{/ts}</h3>
259 <div class="form-item">
260 { include file="CRM/Member/Form/Selector.tpl" context="dashboard" }