Commit | Line | Data |
---|---|---|
3c7bb1b1 CW |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.6 | | |
4 | +--------------------------------------------------------------------+ | |
e7112fa7 | 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
3c7bb1b1 CW |
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 | {if !empty($participantData)} | |
27 | <div class="messages status no-popup"> | |
28 | <div class="icon ui-icon-alert"></div> | |
29 | {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} | |
30 | </div> | |
31 | <table class="display"> | |
32 | <thead><tr> | |
33 | <th>{ts}Event ID{/ts}</th> | |
34 | <th>{ts}Event{/ts}</th> | |
35 | <th>{ts}Participant Count{/ts}</th> | |
36 | </tr><thead> | |
37 | <tbody> | |
38 | {foreach from=$participantData item="row" key="id"} | |
39 | {foreach from=$row item="count" key="data"} | |
40 | <tr class="{cycle values="odd-row,even-row"}"> | |
41 | <td>{$id}</td> | |
42 | <td><a href="{crmURL p="civicrm/event/manage/settings" q="reset=1&action=update&id=$id"}">{$data}</a></td> | |
43 | <td><a href="{crmURL p='civicrm/event/search' q="reset=1&force=1&status=true&event=$id"}">{$count}</a></td> | |
44 | </tr> | |
45 | {/foreach} | |
46 | {/foreach} | |
47 | </tbody> | |
48 | {/if} | |
49 | ||
50 | <h3> | |
bb841c6b | 51 | {ts}A repeating set will be created with the following dates.{/ts} |
3c7bb1b1 CW |
52 | </h3> |
53 | <table class="display row-highlight"> | |
54 | <thead><tr> | |
55 | <th>#</th> | |
56 | <th>{ts}Start date{/ts}</th> | |
57 | {if $endDates}<th>{ts}End date{/ts}</th>{/if} | |
58 | </tr><thead> | |
59 | <tbody> | |
60 | {foreach from=$dates item="row" key="count"} | |
61 | <tr class="{cycle values="odd-row,even-row"}"> | |
72a72beb | 62 | <td>{if $count}{$count+1}{else}{ts}Original{/ts}{/if}</td> |
3c7bb1b1 CW |
63 | <td>{$row.start_date}</td> |
64 | {if $endDates}<td>{$row.end_date}</td>{/if} | |
65 | </tr> | |
66 | {/foreach} | |
67 | </tbody> | |
bb841c6b | 68 | </table> |