Add back current commit hash to site footer.

The commit hash is shown when hovering over the app name in the footer.
This commit is contained in:
NamelessContributor
2022-05-11 14:56:13 +02:00
parent c73ff4fbd9
commit f668cfdbac

View File

@@ -180,7 +180,7 @@
</div>
<footer id="page-footer" class="text-sm flex-initial">
<span class="page-footer-app-name"><%= Danbooru.config.app_name %></span>
<span class="page-footer-app-name" title="Running commit: <%= Rails.application.config.x.git_hash&.first(9) %>"><%= Danbooru.config.app_name %></span>
/ <%= link_to "Terms", terms_of_service_path %>
/ <%= link_to "Privacy", privacy_policy_path %>
/ <%= link_to "2257", usc_2257_path %>