Commit | Line | Data |
---|---|---|
62933949 | 1 | {* |
2 | +--------------------------------------------------------------------+ | |
2c4c49ca | 3 | | CiviCRM version 4.7 | |
62933949 | 4 | +--------------------------------------------------------------------+ |
e7112fa7 | 5 | | Copyright CiviCRM LLC (c) 2004-2015 | |
62933949 | 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 class="crm-block crm-form-block crm-event-manage-repeat-form-block"> | |
d2a4c29b | 27 | {include file="CRM/Core/Form/RecurringEntity.tpl" recurringFormIsEmbedded=false} |
62933949 | 28 | {if $rows} |
b1e18356 | 29 | <div class="crm-block crm-manage-events crm-accordion-wrapper"> |
431b0ca8 | 30 | <div class="crm-accordion-header">{ts}Connected Repeating Events{/ts}</div> |
62933949 | 31 | <div class="crm-accordion-body"> |
32 | {strip} | |
33 | {include file="CRM/common/jsortable.tpl"} | |
34 | <table id="options" class="display"> | |
35 | <thead> | |
36 | <tr> | |
37 | <th>{ts}Event{/ts}</th> | |
38 | <th>{ts}Public?{/ts}</th> | |
39 | <th>{ts}Starts{/ts}</th> | |
40 | <th>{ts}Ends{/ts}</th> | |
41 | <th>{ts}Active?{/ts}</th> | |
42 | <th>{ts}Event Link{/ts}</th> | |
43 | <th class="hiddenElement"></th> | |
44 | <th class="hiddenElement"></th> | |
45 | </tr> | |
46 | </thead> | |
47 | {foreach from=$rows key=keys item=row} | |
48 | {if $keys neq 'tab'} | |
49 | {if $currentEventId eq $row.id} | |
431b0ca8 | 50 | {assign var="highlight" value=" status bold"} |
62933949 | 51 | {else} |
52 | {assign var="highlight" value=""} | |
53 | {/if} | |
b1e18356 | 54 | <tr class="row_{$row.id}{if NOT $row.is_active} disabled{/if}"> |
62933949 | 55 | <td class="crm-event_{$row.id}{$highlight}"> |
56 | <a href="{crmURL p='civicrm/event/info' q="id=`$row.id`&reset=1"}" | |
57 | title="{ts}View event info page{/ts}" class="bold">{$row.title}</a> ({ts}ID:{/ts} {$row.id}) | |
58 | </td> | |
59 | <td class="crm-event-is_public{$highlight}">{if $row.is_public eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td> | |
21f96d9b KL |
60 | <td class="crm-event-start_date{$highlight}" data-order="{$row.start_date|crmDate:'%Y-%m-%d'}">{$row.start_date|crmDate:"%b %d, %Y %l:%M %P"}</td> |
61 | <td class="crm-event-end_date{$highlight}" data-order="{$row.end_date|crmDate:'%Y-%m-%d'}">{$row.end_date|crmDate:"%b %d, %Y %l:%M %P"}</td> | |
62933949 | 62 | <td class="crm-event_status{$highlight}" id="row_{$row.id}_status"> |
63 | {if $row.is_active eq 1}{ts}Yes{/ts} {else} {ts}No{/ts} {/if} | |
64 | </td> | |
65 | <td class="{$highlight}"> | |
b1e18356 | 66 | <a class="action-item no-popup crm-hover-button" href="{crmURL p="civicrm/event/manage/settings" q="reset=1&action=update&id=`$row.id`"}">{ts}Settings{/ts}</a> |
62933949 | 67 | </td> |
68 | <td class="crm-event-start_date hiddenElement">{$row.start_date|crmDate}</td> | |
69 | <td class="crm-event-end_date hiddenElement">{$row.end_date|crmDate}</td> | |
70 | </tr> | |
71 | {/if} | |
72 | {/foreach} | |
73 | </table> | |
62933949 | 74 | {/strip} |
75 | </div> | |
76 | </div> | |
77 | {/if} | |
a83e7558 | 78 | </div> |