correct footer terms and privacy link on multiple pages
This commit is contained in:
parent
12c99e1b69
commit
ba856ee975
2 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
|
|
||||||
<span class='globalFooter-sub-item'>© <%= Time.current.year %> CommitChange</span>
|
<span class='globalFooter-sub-item'>© <%= 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>
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
<% if @theme == 'minimal' %>
|
<% if @theme == 'minimal' %>
|
||||||
<div class="minimalFooter">
|
<div class="minimalFooter">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<span>© 2018 <%= Settings.general.name %></span>
|
<span>© <%= 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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue