debian-mirror-gitlab/app/views/layouts/header/_gitlab_version.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
671 B
Text
Raw Normal View History

2022-03-02 08:16:31 +05:30
- return unless show_version_check?
2023-01-13 00:05:48 +05:30
%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: "#{Gitlab.version_info.major}.#{Gitlab.version_info.minor}"
}
}
2022-03-02 08:16:31 +05:30
%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
2023-01-13 00:05:48 +05:30
.js-gitlab-version-check-badge{ data: { "size": "sm" } }