<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> <% hide_unsubscribe = false if hide_unsubscribe.nil? %> <% if @nonprofit %> <% if @nonprofit.facebook || @nonprofit.twitter || @nonprofit.youtube || @nonprofit.instagram || @nonprofit.blog %> <%= render 'nonprofits/email/footer_link_td', url: @nonprofit.facebook, text: 'Facebook' if @nonprofit.facebook %> <%= render 'nonprofits/email/footer_link_td', url: @nonprofit.twitter, text: 'Twitter' if @nonprofit.twitter %> <%= render 'nonprofits/email/footer_link_td', url: @nonprofit.youtube, text: 'YouTube' if @nonprofit.youtube %> <%= render 'nonprofits/email/footer_link_td', url: @nonprofit.instagram, text: 'Instagram' if @nonprofit.instagram %> <%= render 'nonprofits/email/footer_link_td', url: @nonprofit.blog, text: 'Blog' if @nonprofit.blog %>
<% end %> <% if @nonprofit.logo_url %> <% end %>

<%= @nonprofit.name %>

<% if @nonprofit.website %>

<%= @nonprofit.website %>

<% end %> <% if @nonprofit.address %>

<%= @nonprofit.address %>

<% end %>

<%= "#{@nonprofit.city}, #{@nonprofit.state_code} #{@nonprofit.zip_code}" %>

<% unless hide_unsubscribe %>
<% if @uuid %> Unsubscribe <% else %> Unsubscribe <% end %>
<% end %> <% end %>