#30848 added label email id
[com.zyxware.civiwci.git] / templates / CRM / Wci / Page / ProgressBarList.tpl
CommitLineData
cde51233
J
1{*<h3>This new page is generated by CRM/Wci/Page/ProgressBarList.php</h3> *}
2
3{* Example: Display a variable directly
4<p>The current time is {$currentTime}</p>
5*}
6{* Example: Display a translated string -- which happens to include a variable
7<p>{ts 1=$currentTime}(In your native language) The current time is %1.{/ts}</p>
8*}
9
10{*
11 {capture assign=newPageURL}{crmURL p='civicrm/admin/contribute/add' q='action=add&reset=1'}{/capture}
12 <div id="help">
13 {ts}CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.{/ts} {help id="id-intro"}
14 </div>
15
16 {include file="CRM/Contribute/Form/SearchContribution.tpl"}
17 {if NOT ($action eq 1 or $action eq 2) }
18 <table class="form-layout-compressed">
19 <tr>
20 <td><a href="{$newPageURL}" class="button"><span><div class="icon add-icon"></div>{ts}Add Contribution Page{/ts}</span></a></td>
21 <td style="vertical-align: top"><a class="button" href="{crmURL p="civicrm/admin/pcp" q="reset=1"}"><span>{ts}Manage Personal Campaign Pages{/ts}</span></a> {help id="id-pcp-intro" file="CRM/PCP/Page/PCP.hlp"}</td>
22 </tr>
23 </table>
24 {/if}
25*}
26 {if $rows}
27 <div id="configure_contribution_page">
28 {strip}
29
30 {include file="CRM/common/pager.tpl" location="top"}
31 {include file="CRM/common/pagerAToZ.tpl"}
cde51233
J
32 {include file="CRM/common/jsortable.tpl"}
33 <table id="options" class="display">
34 <thead>
35 <tr>
36 <th id="sortable">{ts}Name{/ts}</th>
37 <th>{ts}Goal Amout{/ts}</th>
cde51233
J
38 <th></th>
39 </tr>
40 </thead>
41 {foreach from=$rows item=row}
42 <tr id="row_{$row.id}" > {* class="{if NOT $row.is_active} disabled{/if}" *}
43 <td><strong>{$row.name}</strong></td>
44 <td>{$row.goal_amount}</td>
cde51233
J
45 <td class="crm-contribution-page-actions right nowrap">
46
47 {if $row.configureActionLinks}
48 <div class="crm-contribution-page-configure-actions">
49 {$row.configureActionLinks|replace:'xx':$row.id}
50 </div>
51 {/if}
52
53 {if $row.contributionLinks}
54 <div class="crm-contribution-online-contribution-actions">
55 {$row.contributionLinks|replace:'xx':$row.id}
56 </div>
57 {/if}
58
59 {if $row.onlineContributionLinks}
60 <div class="crm-contribution-search-contribution-actions">
61 {$row.onlineContributionLinks|replace:'xx':$row.id}
62 </div>
63 {/if}
64
65 <div class="crm-contribution-page-more">
66 {$row.action|replace:'xx':$row.id}
67 </div>
68
69 </td>
70
71 </tr>
72 {/foreach}
73 </table>
74
75 {/strip}
76 </div>
77 {else}
78 {if $isSearch eq 1}
79 <div class="status messages">
80 <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
81 {capture assign=browseURL}{crmURL p='civicrm/contribute/manage' q="reset=1"}{/capture}
82 {ts}No available Contribution Pages match your search criteria. Suggestions:{/ts}
83 <div class="spacer"></div>
84 <ul>
85 <li>{ts}Check your spelling.{/ts}</li>
86 <li>{ts}Try a different spelling or use fewer letters.{/ts}</li>
87 <li>{ts}Make sure you have enough privileges in the access control system.{/ts}</li>
88 </ul>
89 {ts 1=$browseURL}Or you can <a href='%1'>browse all available Contribution Pages</a>.{/ts}
90 </div>
91 {else}
92 <div class="messages status no-popup">
93 <div class="icon inform-icon"></div> &nbsp;
c319760b 94 {ts 1=$newPageURL}No Progressbars have been created yet. Click <a accesskey="N" href='progress-bar/add'>here</a> to create a new Progressbar.{/ts}
cde51233
J
95 </div>
96 {/if}
97 {/if}