Fix JS errors and add back commit hash

This commit is contained in:
Ondřej Hruška
2017-07-25 21:54:12 +02:00
parent 7e5691804d
commit b7cf758fbe
4 changed files with 14 additions and 7 deletions

View File

@ -60,5 +60,9 @@
.footer-links
.container
%p
= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'
= " (#{@instance_presenter.version_number})"
= link_to t('about.source_code'), 'https://github.com/glitch-soc/mastodon'
- if @instance_presenter.commit_hash == ""
%strong= @instance_presenter.version_number
- else
%strong= "#{@instance_presenter.version_number}, "
%strong= "#{@instance_presenter.commit_hash}"