2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 <div class="crm-block crm-form-block crm-event-manage-repeat-form-block">
27 {include file="CRM/Core/Form/RecurringEntity.tpl" recurringFormIsEmbedded=false}
29 <div class="crm-block crm-manage-events crm-accordion-wrapper">
30 <div class="crm-accordion-header">{ts}Connected Repeating Events{/ts}</div>
31 <div class="crm-accordion-body">
33 {include file="CRM/common/jsortable.tpl"}
34 <table id="options" class="display">
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>
47 {foreach from=$rows key=keys item=row}
49 {if $currentEventId eq $row.id}
50 {assign var="highlight" value=" status bold"}
52 {assign var="highlight" value=""}
54 <tr class="row_{$row.id}{if NOT $row.is_active} disabled{/if}">
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})
59 <td class="crm-event-is_public{$highlight}">{if $row.is_public eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
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>
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}
65 <td class="{$highlight}">
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>
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>