22adb4d5fd
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.
30 lines
885 B
Text
30 lines
885 B
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<% content_for(:fixed_position_cta_hidden) {'hidden'} %>
|
|
|
|
<%= content_for :stylesheets do %>
|
|
<%= stylesheet_link_tag 'events/index/page' %>
|
|
<% end %>
|
|
|
|
<%= content_for :javascripts do %>
|
|
<script>
|
|
app.current_nonprofit_user = <%= current_nonprofit_user? %>
|
|
</script>
|
|
<%= IncludeAsset.js '/client/js/events/index/page.js' %>
|
|
<% end %>
|
|
|
|
<%= render 'components/header',
|
|
icon_class: 'icon-ticket-2',
|
|
title: 'Events',
|
|
profile: @nonprofit,
|
|
has_mosaic: true %>
|
|
|
|
<main class='container u-padding--15 u-marginBottom--30'>
|
|
<% if current_user %>
|
|
<a class='button orange u-marginY--10' open-modal='newEvent' data-when-confirmed><i class='fa fa-plus'></i> New Event</a>
|
|
<% end %>
|
|
<div id='js-eventsListing'></div>
|
|
</main>
|
|
|
|
<% if current_user %>
|
|
<%= render 'events/new_modal' %>
|
|
<% end %>
|