summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_gitlab_version.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/header/_gitlab_version.html.haml')
-rw-r--r--app/views/layouts/header/_gitlab_version.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/layouts/header/_gitlab_version.html.haml b/app/views/layouts/header/_gitlab_version.html.haml
new file mode 100644
index 00000000000..125fbaa084c
--- /dev/null
+++ b/app/views/layouts/header/_gitlab_version.html.haml
@@ -0,0 +1,11 @@
+- return unless show_version_check?
+
+.gl-display-flex.gl-flex-direction-column.gl-px-4.gl-py-3
+ %span
+ = s_("VersionCheck|Your GitLab Version")
+ = emoji_icon('rocket')
+ %span
+ %span.gl-font-sm.gl-text-gray-500
+ #{Gitlab.version_info.major}.#{Gitlab.version_info.minor}
+ %span.gl-ml-2
+ .js-gitlab-version-check{ data: { "size": "sm" } }