Add modified disclaimer to version tag

This commit is contained in:
syeopite
2024-03-13 14:52:43 -07:00
committed by Fijxu
parent efcd94ffbe
commit 1eb28edfb3
2 changed files with 10 additions and 1 deletions

View File

@@ -309,7 +309,15 @@
</div>
<hr/>
<div class="footer-footer">
<span class="left"><%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %></span>
<span class="left">
<% if CONFIG.modified_source_code_url %>
<%= translate(locale, "footer_current_version_modified") %>
<% else %>
<%= translate(locale, "Current version: ") %>
<% end %>
<%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %>
</span>
<div class="right">
<a href="/privacy" title="<%= translate(locale, "footer_privacy_policy_link")%>"><%= translate(locale, "footer_privacy_policy_link") %></a>
<span> | </span>