Skip to content

Commit

Permalink
fix footer links
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Sep 8, 2020
1 parent 4b95edc commit 52898b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/layouts/datacite/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<h4>About DataCite</h4>
<ul>
<% settings.about_links.each do |link| %>
<li><%= link_to link.name, link.url %></a></li>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
<% end %>
</ul>
</div>
<div class='col-sm-3'>
<h4>Services</h4>
<ul>
<% settings.services_links.each do |link| %>
<li><%= link_to link.name, link.url %></a></li>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
<% end %>
</ul>
</div>
Expand All @@ -26,7 +26,7 @@
<h4>Community</h4>
<ul>
<% settings.community_links.each do |link| %>
<li><%= link_to link.name, link.url %></a></li>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
<% end %>
</ul>
</div>
Expand All @@ -52,7 +52,7 @@
</a>
<ul class="share">
<% settings.contact_links.each do |link| %>
<li><%= link_to link.name, link.url %></a></li>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
<% end %>
</ul>
<a href="http://status.datacite.org", target: "_blank">
Expand Down
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
ENV['REDIS_URL'] ||= "redis://redis:6379/12"
ENV['GITHUB_URL'] ||= "https://github.com/datacite/volpino"
ENV['BLOG_URL'] ||= "https://blog.stage.datacite.org"
ENV['HOMEPAGE_URL'] ||= "https://www.stage.datacite.org"
ENV['MODE'] ||= "datacite"
ENV['TRUSTED_IP'] ||= "10.0.60.0/24"
ENV['MYSQL_DATABASE'] ||= "profiles"
Expand Down

0 comments on commit 52898b5

Please sign in to comment.