YspeopleExplore tab

<% scope = [:activerecord, :attributes, :charity] %>
<% if @charity_type.nil? || @charity_type.charity? %> <% header = I18n.t('menu.charity.supported') %> <% page = Page.charity_blurb %> <% else %> <% header = I18n.t('menu.affiliate.supported') %> <% page = Page.affiliate_blurb %> <% end %>

<%= header %>

<%= page.content.html_safe %>
<% if user_signed_in? && current_user.admin? %>
<% path = @charity_type.nil? || @charity_type.charity? ? new_charity_path : new_affiliate_charities_path %> <%= link_to I18n.t('titles.new'), path, :class => 'btn btn-primary', data: { disable_with: spinner_with_text } %>

<% end %> <% @charities.each do |charity| %> <% if user_signed_in? && current_user.admin? %>
<%= render partial: 'shared/actions', locals: { model_class: Charity, edit_url: edit_charity_path(charity), destroy_url: charity_path(charity) } %> <% end %> <% end %>
<% unless charity.image.blank? %> <%= link_to cl_image_tag(charity.image_url(:charity_small), style: 'max-width: 180px;'), charity.make_url, target: '_blank' %> <% end %>
<%= link_to charity.name, charity.make_url, target: '_blank' %>

<%= charity.description %>

<% if user_signed_in? && current_user.admin? %>
<% target_snippet_id = "copyTargetSnippet-#{charity.id}" %> <% target_link_only_id = "copyTargetLink-#{charity.id}" %> <% product_id = "product-#{charity.id}" %> <% btn_snippet_id = "copyButtonSnippet-#{charity.id}" %> <% btn_link_only_id = "copyButtonLink-#{charity.id}" %>

<%= I18n.t('activerecord.attributes.charity.code_snippet') %>



<%= I18n.t('activerecord.attributes.charity.back_link') %>

Product 

<%= charity.charity? ? image_tag('/uploads/images/charity_badge.1.jpg', width: '100%') : image_tag('/uploads/images/association_badge.jpg')%>
<%= I18n.t('bank_bsb', scope: scope) %> <%= charity.bank_account.bsb rescue nil %>
<%= I18n.t('bank_account', scope: scope) %> <%= charity.bank_account.account_number rescue nil %>
<%= I18n.t('bank_nominee', scope: scope) %> <%= charity.bank_account.name rescue nil %>
<% end %>
<%= render partial: 'charity_toggle', locals: { charity: charity } %>

Message board

Derek, 12 months ago:
I am great
George, 12 months ago:
What's up Thomas?
George, 12 months ago:
Messages are now updated in real time on other browsers.
Thomas, 12 months ago:
Hello
Thomas, about 1 year ago:
Great!
DJC, about 1 year ago:
Groovy!
George, about 1 year ago:
Message board active from June 2018

Have your say!

Your Great Australians

Trending stories
When it comes to great bloggers you can connect with, this list has you covered.

20 mature bloggers worth following

Looking for Australian...

(Entertainment & Culture) About 2 years ago
They may be hideous, but geez, some toby jugs are valuable.

Is your toby jug worth a fortune?

Did you know that some of...

(Nostalgia) 12 months ago
The last two Australians to receive the dealth penalty, Andrew Chan and Myuran Sukumaran.

We're all a product of our environment

No one is 100% responsible...

(Headlines) About 2 years ago
Caravan, camper or motorhome? This is probably the most important choice you'll make.

How to plan for your big caravan adventure

Part two in the series on...

(Travel) Over 1 year ago
Young people from the Kalgoorlie PCYC Friday night Safe Space program leave their mark on the mural.

Youth projects unearthing gold in Kalgoorlie

A stunning mural of an...

(Kindness) Over 1 year ago
Weekly Poll
Photographic memories
Hizgg0vzzqvwc9xicknk
It's 35 years since the Ash Wednesday bushfires in South Australia and Victoria claimed 75 lives and more than 2500 buildings.