<%- # 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 -%> <% 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.attached? %> <% end %>
<%= image_tag rails_storage_proxy_url(@nonprofit.logo_by_size(:normal)), style:'border: 1px solid rgba(0,0,0,0.05);'%>

<%= @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 %>