oneclickorgs/one-click-orgs

View on GitHub
app/views/shared/_footer.html.haml

Summary

Maintainability
Test Coverage
- if Setting[:theme] == 'cooperatives_uk'
  Powered by
  = link_to(image_tag('oco-logo-24.png', :height => '24', :width => '24', :alt => 'One Click Orgs logo', :class => 'logo') + 'One Click Orgs', 'http://www.oneclickorgs.com/', :target => '_blank', :title => "Version #{OneClickOrgs.version}")
  in association with
  = link_to(image_tag('themes/cooperatives_uk/cuk-logo-24.png', :alt => "Co-operatives UK logo", :style => 'vertical-align: sub;'), 'http://www.uk.coop/')
  and
  = link_to(image_tag('themes/cooperatives_uk/nesta-logo-24.png', :alt => "Nesta"), 'http://www.nesta.org.uk')
- else
  = link_to(image_tag('oco-logo-24.png', :height => '24', :width => '24', :alt => 'One Click Orgs logo', :class => 'logo') + 'One Click Orgs', 'http://www.oneclickorgs.com/', :target => '_blank', :title => "Version #{OneClickOrgs.version}")
  \ •
  %a{:href => 'http://www.oneclickorgs.com/faq/'} Frequently asked questions

%span.right
  - if Setting[:theme] == 'cooperatives_uk'
    Co-operatives UK
    = link_to("Terms of Use", 'http://create.oneclick.uk.coop/coops/terms') + ','
    = link_to("Privacy Policy and Cookie Policy", 'http://www.uk.coop/document/website-terms-and-conditions')
    %br
  Licensed under the
  %a{:href => 'http://www.gnu.org/licenses/agpl.html', :target => '_blank'} AGPL
  \ •
  %a{:href => 'http://github.com/oneclickorgs/one-click-orgs', :target => '_blank'} Source code available
  \ •
  = link_to image_tag('os_80x24_blue.png', :width => 80, :height => 24, :alt => 'This is an Open Software Service'), 'http://www.opendefinition.org/software-service/', :target => '_blank'