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.
22 lines
868 B
Text
22 lines
868 B
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<!-- partial start: nonprofits/_actions -->
|
|
|
|
<aside class='u-marginBottom--15'>
|
|
<% if current_nonprofit_user? %>
|
|
<button class='button--jumbo u-width--full' open-modal='newCampaign' if-branded='background-color, dark'>
|
|
Start a Campaign
|
|
</button>
|
|
<% else %>
|
|
<a class='button u-width--full' if-branded='background-color, dark' target='_blank' href='/peer-to-peer?npo_id=<%=@nonprofit.id %>'>
|
|
Start a Campaign for <%= @nonprofit.name %>
|
|
</a>
|
|
<% end %>
|
|
</button>
|
|
|
|
<% if current_plan_tier >= 1 && current_nonprofit_user? %>
|
|
<button class='button--jumbo u-width--full' open-modal='newEvent' data-when-confirmed if-branded='background-color, dark'>
|
|
Create an Event
|
|
</button>
|
|
<% end %>
|
|
</aside>
|
|
<!-- partial end: nonprofits/_actions -->
|