houdini/app/views/events/_admin_top_nav.html.erb
Bradley M. Kuhn 22adb4d5fd Relicense all .erb files under new project license.
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

53 lines
1.6 KiB
Text

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<section class='admin-topNav tour-admin'>
<div class='container u-centered'>
<p><strong>Manage Event</strong></p>
<a class='button--tiny edit test-eventSettings'>
<!--= on 'click' (open_modal 'eventSettingsModal') -->
<i class='fa fa-gear'></i> Settings
</a>
<a class='button--tiny edit' href="<%= @event.url + '/tickets' %>">
<i class='fa fa-th-list'></i> Attendees
</a>
<a class='button--tiny edit' href="<%= @event.url + '/stats' %>">
<i class='fa fa-star'></i> Stats
</a>
<a class='button--tiny edit'>
<!--= on 'click' (open_modal 'manageTicketLevelsModal') -->
<i class='fa fa-ticket'></i> Ticket Levels
</a>
<a class='button--tiny edit'>
<!--= on 'click' (open_modal 'customReceiptModal') -->
<i class='fa fa-pencil'></i> Custom Receipt
</a>
<a class='button--tiny edit' href='?preview=t'>
<i class='fa fa-eye'></i> Preview Mode
</a>
<a class='button--tiny edit'>
<!--= on 'click' (open_modal 'manageDiscountsModal') -->
<strong>&#37;</strong> Discounts
</a>
<a class='button--tiny edit'>
<!--= on 'click' (open_modal 'duplicateFundraiserModal') -->
<i class='fa fa-copy'></i> Copy Event
</a>
<%= render 'components/messages/deleted_campaign_or_event', type: 'event' %>
<% if current_role?(:super_admin) %>
<p><i class='icon icon-pacman-ghost'></i> For super admin:
<% url = root_url + "nonprofits/#{@nonprofit.id}/events/#{@event.id}" %>
<%= link_to "NP: #{@nonprofit.id} - Event ID: #{@event.id}", url %>
</p>
<% end %>
</div>
</section>