forked from e621ng/e621ng
Merge branch 'feat/version-indicator' into master2
This commit is contained in:
commit
107736c01a
@ -11,6 +11,10 @@ module GitHelper
|
||||
end
|
||||
end
|
||||
|
||||
def self.hash
|
||||
@hash
|
||||
end
|
||||
|
||||
def self.short_hash
|
||||
@hash[0..8]
|
||||
end
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user