#30848 added label email id
[com.zyxware.civiwci.git] / templates / CRM / Wci / Page / WidgetList.tpl
CommitLineData
7d8ac5b7
J
1{*
2<h3>This new page is generated by CRM/Wci/Page/WidgetList.php</h3>
3*}
4{* Example: Display a variable directly
5<p>The current time is {$currentTime}</p>
6*}
7{* Example: Display a translated string -- which happens to include a variable
8<p>{ts 1=$currentTime}(In your native language) The current time is %1.{/ts}</p>
9*}
10
11 {if $rows}
12 <div id="configure_contribution_page">
13 {strip}
14
15 {include file="CRM/common/pager.tpl" location="top"}
16 {include file="CRM/common/pagerAToZ.tpl"}
7d8ac5b7
J
17 {include file="CRM/common/jsortable.tpl"}
18 <table id="options" class="display">
19 <thead>
20 <tr>
21 <th id="sortable">{ts}Title{/ts}</th>
22 <th>{ts}Description{/ts}</th>
c3f3cbbb 23 <th></th>
7d8ac5b7
J
24 </tr>
25 </thead>
26 {foreach from=$rows item=row}
27 <tr id="row_{$row.id}" > {* class="{if NOT $row.is_active} disabled{/if}" *}
28 <td><strong>{$row.title}</strong></td>
29 <td>{$row.description}</td>
7d8ac5b7
J
30 <td class="crm-contribution-page-actions right nowrap">
31
32 {if $row.configureActionLinks}
33 <div class="crm-contribution-page-configure-actions">
34 {$row.configureActionLinks|replace:'xx':$row.id}
35 </div>
36 {/if}
37
38 {if $row.contributionLinks}
39 <div class="crm-contribution-online-contribution-actions">
40 {$row.contributionLinks|replace:'xx':$row.id}
41 </div>
42 {/if}
43
44 {if $row.onlineContributionLinks}
45 <div class="crm-contribution-search-contribution-actions">
46 {$row.onlineContributionLinks|replace:'xx':$row.id}
47 </div>
48 {/if}
49
50 <div class="crm-contribution-page-more">
51 {$row.action|replace:'xx':$row.id}
52 </div>
53
54 </td>
55
56 </tr>
57 {/foreach}
58 </table>
59
60 {/strip}
61 </div>
62 {else}
63 {if $isSearch eq 1}
64 <div class="status messages">
65 <img src="{$config->resourceBase}i/Inform.gif" alt="{ts}status{/ts}"/>
66 {capture assign=browseURL}{crmURL p='civicrm/contribute/manage' q="reset=1"}{/capture}
67 {ts}No available Contribution Pages match your search criteria. Suggestions:{/ts}
68 <div class="spacer"></div>
69 <ul>
70 <li>{ts}Check your spelling.{/ts}</li>
71 <li>{ts}Try a different spelling or use fewer letters.{/ts}</li>
72 <li>{ts}Make sure you have enough privileges in the access control system.{/ts}</li>
73 </ul>
74 {ts 1=$browseURL}Or you can <a href='%1'>browse all available Contribution Pages</a>.{/ts}
75 </div>
76 {else}
77 <div class="messages status no-popup">
78 <div class="icon inform-icon"></div> &nbsp;
c319760b 79 {ts 1=$newPageURL}No wci widgets have been created yet. Click <a accesskey="N" href='widget/add'>here</a> to create a new wci widget.{/ts}
7d8ac5b7
J
80 </div>
81 {/if}
82 {/if}