correct footer terms and privacy link on multiple pages

This commit is contained in:
Eric Schultz 2018-05-31 12:20:49 -05:00
parent 12c99e1b69
commit ba856ee975
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
<span> <span>
<span class='globalFooter-sub-item'>&copy; <%= Time.current.year %> CommitChange</span> <span class='globalFooter-sub-item'>&copy; <%= Time.current.year %> <%= Settings.general.name %></span>
<span class='globalFooter-sub-item'> <span class='globalFooter-sub-item'>
<% if current_user %> <% if current_user %>
@ -18,7 +18,7 @@
<% end %> <% end %>
</span> </span>
<span class='globalFooter-sub-item'> <span class='globalFooter-sub-item'>
<%= link_to "Terms & Privacy", Format::Url.concat(root_url, "help/terms-of-service-and-privacy-policy") %> <%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %>
</span> </span>
</span> </span>
</span> </span>

View file

@ -3,9 +3,9 @@
<% if @theme == 'minimal' %> <% if @theme == 'minimal' %>
<div class="minimalFooter"> <div class="minimalFooter">
<div class="container"> <div class="container">
<span>&copy; 2018 <%= Settings.general.name %></span> <span>&copy; <%= Time.current.year %> <%= Settings.general.name %></span>
<span>About</span> <span>About</span>
<span><%= link_to "Terms & Privacy", controller: :static, action: :terms_and_privacy %></span> <span><%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %></span>
</div> </div>
</div> </div>