2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
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 |
8 +--------------------------------------------------------------------+
10 {* Don't show action buttons for event templates *}
12 <div class="crm-actions-ribbon crm-event-manage-tab-actions-ribbon">
14 <li><div id="crm-event-links-wrapper">
15 {crmButton id="crm-event-links-link" href="#" icon="bars"}{ts}Event Links{/ts}{/crmButton}
16 <div class="ac_results" id="crm-event-links-list">
17 <div class="crm-event-links-list-inner">
19 <li><a class="crm-event-participant" href="{crmURL p='civicrm/participant/add' q="reset=1&action=add&context=standalone&eid=`$id`"}">{ts}Register Participant{/ts}</a></li>
20 <li><a class="crm-event-info" href="{crmURL p='civicrm/event/info' q="reset=1&id=`$id`" fe='true'}" target="_blank">{ts}Event Info{/ts}</a></li>
21 {if $isOnlineRegistration}
22 <li><a class="crm-event-test" href="{crmURL p='civicrm/event/register' q="reset=1&action=preview&id=`$id`"}">{ts}Online Registration (Test-drive){/ts}</a></li>
23 <li><a class="crm-event-live" href="{crmURL p='civicrm/event/register' q="reset=1&id=`$id`" fe='true'}" target="_blank">{ts}Online Registration (Live){/ts}</a></li>
30 <li><div id="crm-participant-wrapper">
31 {crmButton id="crm-participant-link" href="#" icon="bars"}{ts}Find Participants{/ts}{/crmButton}
32 <div class="ac_results" id="crm-participant-list">
33 <div class="crm-participant-list-inner">
35 {if $findParticipants.statusCounted}
36 <li><a class="crm-participant-counted" href="{crmURL p='civicrm/event/search' q="reset=1&force=1&event=`$id`&status=true"}">{$findParticipants.statusCounted|replace:'/':', '}</a></li>
38 {if $findParticipants.statusNotCounted}
39 <li><a class="crm-participant-not-counted" href="{crmURL p='civicrm/event/search' q="reset=1&force=1&event=`$id`&status=false"}">{$findParticipants.statusNotCounted|replace:'/':', '}</a>
42 {if $participantListingURL}
43 <li><a class="crm-participant-listing" href="{$participantListingURL}">{ts}Public Participant Listing{/ts}</a></li>
51 {help id="id-configure-events" isTemplate=$isTemplate participantListingURL=$participantListingURL isOnlineRegistration=$isOnlineRegistration eventId=$id}
54 <div class="clear"></div>
58 {include file="CRM/common/TabHeader.tpl"}
63 $('body').click(function() {
64 $('#crm-event-links-list, #crm-participant-list').hide();
67 $('#crm-event-links-link').click(function(event) {
68 $('#crm-event-links-list').toggle();
69 $('#crm-participant-list').hide();
70 event.stopPropagation();
74 $('#crm-participant-link').click(function(event) {
75 $('#crm-participant-list').toggle();
76 $('#crm-event-links-list').hide();
77 event.stopPropagation();
81 // Update title dynamically
82 $('h1').each(function() {
83 var title = {/literal}{$title|json_encode}{literal};
84 $(this).html($(this).html().replace(title, '<span id="crm-event-name-page-title">' + title + '</span>'));
86 $('#crm-main-content-wrapper').on('keyup change', 'input#title', function() {
87 $('#crm-event-name-page-title').text($(this).val());
93 {include file="CRM/Event/Form/ManageEvent/ConfirmRepeatMode.tpl" entityID=$id entityTable="civicrm_event"}