footer: abbreviate git hash.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<footer id="page-footer">
|
<footer id="page-footer">
|
||||||
Running <%= Danbooru.config.app_name %>
|
Running <%= Danbooru.config.app_name %>
|
||||||
<% if Rails.application.config.x.git_hash %>
|
<% if Rails.application.config.x.git_hash %>
|
||||||
(<%= link_to Rails.application.config.x.git_hash, Danbooru.config.commit_url(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) %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
– <%= link_to "Rules", terms_of_service_path %>
|
– <%= link_to "Rules", terms_of_service_path %>
|
||||||
– <%= link_to "Contact", contact_path %>
|
– <%= link_to "Contact", contact_path %>
|
||||||
|
|||||||
Reference in New Issue
Block a user