debian-mirror-gitlab/app/views/layouts/header/_gitlab_version.html.haml
2023-04-23 21:23:45 +05:30

20 lines
669 B
Text

- return unless show_version_check?
%a{
class: 'gl-display-flex! gl-flex-direction-column gl-px-4! gl-py-3! gl-line-height-24!',
href: help_page_path('update/index'),
data: {
testid: 'gitlab-version-container',
track_action: 'click_link',
track_label: 'version_help_dropdown',
track_property: 'navigation_top'
}
}
%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-badge{ data: { "size": "sm", "version": gitlab_version_check.to_json } }