Merge pull request #23913 from seamuslee001/symfony_upgrade
[civicrm-core.git] / templates / CRM / Core / Page / RecurringEntityPreview.tpl
CommitLineData
3c7bb1b1
CW
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
3c7bb1b1 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
3c7bb1b1
CW
8 +--------------------------------------------------------------------+
9*}
10{if !empty($participantData)}
11 <div class="messages status no-popup">
13a3d214 12 <i class="crm-i fa-exclamation-triangle" aria-hidden="true"></i>
3c7bb1b1
CW
13 {ts}There are participants registered for repeating events being removed from the set. Those with participants will be converted to standalone events, and those without registration will be deleted.{/ts}
14 </div>
15 <table class="display">
16 <thead><tr>
17 <th>{ts}Event ID{/ts}</th>
18 <th>{ts}Event{/ts}</th>
19 <th>{ts}Participant Count{/ts}</th>
20 </tr><thead>
21 <tbody>
22 {foreach from=$participantData item="row" key="id"}
23 {foreach from=$row item="count" key="data"}
24 <tr class="{cycle values="odd-row,even-row"}">
25 <td>{$id}</td>
26 <td><a href="{crmURL p="civicrm/event/manage/settings" q="reset=1&action=update&id=$id"}">{$data}</a></td>
27 <td><a href="{crmURL p='civicrm/event/search' q="reset=1&force=1&status=true&event=$id"}">{$count}</a></td>
28 </tr>
29 {/foreach}
30 {/foreach}
31 </tbody>
32{/if}
33
34<h3>
bb841c6b 35 {ts}A repeating set will be created with the following dates.{/ts}
3c7bb1b1
CW
36</h3>
37<table class="display row-highlight">
38 <thead><tr>
39 <th>#</th>
40 <th>{ts}Start date{/ts}</th>
41 {if $endDates}<th>{ts}End date{/ts}</th>{/if}
42 </tr><thead>
43 <tbody>
44 {foreach from=$dates item="row" key="count"}
45 <tr class="{cycle values="odd-row,even-row"}">
72a72beb 46 <td>{if $count}{$count+1}{else}{ts}Original{/ts}{/if}</td>
3c7bb1b1
CW
47 <td>{$row.start_date}</td>
48 {if $endDates}<td>{$row.end_date}</td>{/if}
49 </tr>
50 {/foreach}
51 </tbody>
bb841c6b 52</table>