<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later # Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

<%= t('campaigns.admin.manage_campaign')%>

<%= t('campaigns.admin.settings')%> <% if @campaign.parent_campaign? %> <%= t('campaigns.admin.dashboard')%> <%= t('campaigns.admin.offsite_donation')%> <%= t('campaigns.admin.gift_options')%> <%= t('campaigns.admin.custom_receipts')%> <% end %> <%= t('campaigns.admin.preview_mode')%> <% if @campaign.parent_campaign? %> <%= t('campaigns.admin.copy_campaign')%> <% end %> <%= render 'components/messages/deleted_campaign_or_event', type: 'campaign' %>

<%= t('campaigns.admin.campaign_id', id: @campaign.id)

<% if current_role?(:super_admin) %>

<%= t('campaigns.admin.for_super_admin')%> <% url = root_url + "nonprofits/#{@nonprofit.id}/campaigns/#{@campaign.id}" %> <%= link_to t('campaigns.admin.np_and_campaign_ids', np_id: @nonprofit.id, campaign_id: @campaign.id), url %>

<% end %>