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 sanitize("&copy; 2004 - #{Time.now.year} #{Rails.configuration.branding[:organisation][:name]}"), "#{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="https://github.com/DMPRoadmap/roadmap"><%= _('Github') %></a></li>
    </ul>
    <ul class="nav navbar-nav navbar-right">
      <li>
        <%= link_to("http://www.cdlib.org/services/uc3/", title: "University of California Curation Center", target: '_blank', class: 'has-new-window-popup-info')  do %>
          <%= image_tag("uc3_logo_white.png", class: "img-responsive", alt: 'University of California Curation Center (opens in a new window)') %>
          <span class="new-window-popup-info"><%= _('Opens in new window') %></span>
        <% end %>
      </li>
      <li>
        <%= link_to("http://www.dcc.ac.uk/", title: "Digital Curation Centre", target: '_blank', class: 'has-new-window-popup-info')  do %>
          <%= image_tag("dcc_logo_white.png", class: "img-responsive", alt: 'Digital Curation Centre (opens in a new window)') %>
          <span class="new-window-popup-info"><%= _('Opens in new window') %></span>
        <% end %>
      </li>
    </ul>
  </div>
</div>