commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / PCP / Page / PCP.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 <div id="help">
27 {ts}This screen shows all the Personal Campaign Pages created in the system and allows administrator to review them and change their status.{/ts} {help id="id-pcp-intro"}
28 </div>
29 {if $action ne 8}
30 {include file="CRM/PCP/Form/PCP/PCP.tpl"}
31 {else}
32 {include file="CRM/PCP/Form/PCP/Delete.tpl"}
33 {/if}
34
35 {if $rows}
36 <div id="ltype">
37 <p></p>
38 {include file="CRM/common/pager.tpl" location="top"}
39 {include file="CRM/common/pagerAToZ.tpl"}
40 {include file="CRM/common/jsortable.tpl"}
41 {strip}
42 <table id="options" class="display">
43 <thead>
44 <tr>
45 <th>{ts}Page Title{/ts}</th>
46 <th>{ts}Supporter{/ts}</th>
47 <th>{ts}Contribution Page / Event{/ts}</th>
48 <th>{ts}Starts{/ts}</th>
49 <th>{ts}Ends{/ts}</th>
50 <th>{ts}Status{/ts}</th>
51 <th></th>
52 </tr>
53 </thead>
54 <tbody>
55 {foreach from=$rows item=row}
56 <tr id="row_{$row.id}" class="{$row.class}">
57 <td><a href="{crmURL p='civicrm/pcp/info' q="reset=1&id=`$row.id`" fe='true'}" title="{ts}View Personal Campaign Page{/ts}" target="_blank">{$row.title}</a></td>
58 <td><a href="{crmURL p='civicrm/contact/view' q="reset=1&cid=`$row.supporter_id`"}" title="{ts}View contact record{/ts}">{$row.supporter}</a></td>
59 <td><a href="{$row.page_url}" title="{ts}View page{/ts}" target="_blank">{$row.page_title}</td>
60 <td>{$row.start_date|crmDate}</td>
61 <td>{if $row.end_date}{$row.end_date|crmDate}{else}({ts}ongoing{/ts}){/if}</td>
62 <td>{$row.status_id}</td>
63 <td id={$row.id}>{$row.action|replace:'xx':$row.id}</td>
64 </tr>
65 {/foreach}
66 </tbody>
67 </table>
68 {/strip}
69 </div>
70 {else}
71 <div class="messages status no-popup">
72 <div class="icon inform-icon"></div>
73 {if $isSearch}
74 {ts}There are no Personal Campaign Pages which match your search criteria.{/ts}
75 {else}
76 {ts}There are currently no Personal Campaign Pages.{/ts}
77 {/if}
78 </div>
79 {/if}