Merge branch 'feat/version-indicator' into master2

This commit is contained in:
edshot99 2025-01-30 21:03:39 -06:00
commit 107736c01a
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,10 @@ module GitHelper
end
end
def self.hash
@hash
end
def self.short_hash
@hash[0..8]
end

View File

@ -16,5 +16,6 @@
<%= link_to "Keyboard Shortcuts", keyboard_shortcuts_path %>
<% end %>
<%= link_to disable_mobile_mode? ? "Mobile mode: OFF": "Mobile mode: ON", disable_mobile_mode_path, :rel => "nofollow" %>
<%= link_to "##{GitHelper.short_hash}", GitHelper.commit_url(GitHelper.hash) %>
</span>
</footer>