Newer
Older
dmpopidor / app / views / layouts / _footer.html.erb
<% 
  # Override the default Rails route helper for the contact_us page IF an alternate contact_us url was defined
  # in the branding config file
  contact_us = Rails.application.config.branding[:organisation][:contact_us_url] || contact_us_path
%>

<!-- footer container -->
<div id="footer-navbar" class="navbar-inverse navbar-fixed-bottom" role="navigation">
  <div class="container-fluid">
    <ul class="nav navbar-nav">
      <li><%= link_to "&copy; 2004 - #{Time.now.year} #{Rails.configuration.branding[:organisation][:name]}".sanitize, "#{Rails.configuration.branding[:organisation][:url]}"%></li>
      <li>•</li>
      <li><a href="<%= about_us_path %>"><%= _('About') %></a></li>   
      <li><a href="<%= contact_us %>"><%= _('Contact us') %></a></li>
      <li><a href="<%= terms_path %>"><%= _('Terms of use') %></a></li>
      <li><a href="<%= privacy_path %>"><%= _('Privacy statement') %></a></li>
      <li><a href="#"><%= _('Accessibility') %></a></li>
      <li><a href="https://github.com/DMPRoadmap/roadmap"><%= _('Github') %></a></li>
    </ul>
    <ul class="nav navbar-nav navbar-right">
      <li>
        <%= link_to( image_tag("uc3_logo_white.png", class: "img-responsive", alt: 'University of California Curation Center'),
                               "http://www.cdlib.org/uc3/", title: "University of California Curation Center", target: '_blank') %>
      </li>
      <li>
        <%= link_to( image_tag("dcc_logo_white.png", class: "img-responsive", alt: 'Digital Curation Centre'),
                     "http://www.dcc.ac.uk/", title: "Digital Curation Centre", target: '_blank') %>
      </li>
    </ul>
  </div>
</div>