about summary refs log tree commit diff
path: root/app/views/about/_version.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/about/_version.html.haml')
-rw-r--r--app/views/about/_version.html.haml7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/about/_version.html.haml b/app/views/about/_version.html.haml
index f8ebc4c6d..3ed35da51 100644
--- a/app/views/about/_version.html.haml
+++ b/app/views/about/_version.html.haml
@@ -1,4 +1,9 @@
 .panel
   .panel-header= t 'about.version'
   .panel-body
-    %strong= version.version_number
+    - if @instance_presenter.commit_hash == ""
+      %strong= version.version_number
+    - else
+      %strong= version.version_number
+      %strong= "#{@instance_presenter.commit_hash}"
+