about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-07-25 21:54:12 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-07-25 21:54:12 +0200
commitb7cf758fbed204f117350bc8636fc3d610f60eb4 (patch)
treed224a330ed668f5fc58d1ade41d29f9692d77c37 /app/views
parent7e5691804d4f0019a89b8b8a3dad532bc9d940ea (diff)
Fix JS errors and add back commit hash
Diffstat (limited to 'app/views')
-rw-r--r--app/views/about/more.html.haml8
-rw-r--r--app/views/about/show.html.haml8
2 files changed, 12 insertions, 4 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml
index 11315fefa..ed491495b 100644
--- a/app/views/about/more.html.haml
+++ b/app/views/about/more.html.haml
@@ -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}"
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index a3c8e4a84..b78e181ec 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -73,5 +73,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})"