views: hide git hash in footer on mobile.

Reduce clutter so footer fits on one line.
This commit is contained in:
evazion
2020-03-06 19:41:44 -06:00
parent 39ad0d2210
commit 36f77942c3

View File

@@ -1,7 +1,9 @@
<footer id="page-footer">
Running <%= Danbooru.config.app_name %>
<span class="page-footer-app-name"><%= Danbooru.config.app_name %></span>
<% if Rails.application.config.x.git_hash %>
(<%= link_to Rails.application.config.x.git_hash.first(9), Danbooru.config.commit_url(Rails.application.config.x.git_hash) %>)
<span class="desktop-only page-footer-git-hash">
(<%= link_to Rails.application.config.x.git_hash.first(9), Danbooru.config.commit_url(Rails.application.config.x.git_hash) %>)
</span>
<% end %>
&ndash; <%= link_to "Rules", terms_of_service_path %>
&ndash; <%= link_to "Contact", contact_path %>