Commit ff4f1539 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix packages UI mentioned only Maven packages

Now when both Maven and NPM packages are supported we should use more
generic messaging
Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c6ffe10e
......@@ -321,7 +321,7 @@ export default {
v-if="packagesAvailable"
:help-path="packagesHelpPath"
label="Packages"
help-text="Every project can have its own space to store its Maven packages"
help-text="Every project can have its own space to store its packages"
>
<project-feature-toggle
v-model="packagesEnabled"
......
......@@ -46,6 +46,6 @@
.text-content
%h4.text-center= _('There are no packages yet')
%p
- no_packages_url = help_page_path('user/project/packages/maven_repository.html')
- no_packages_url = help_page_path('administration/packages.html')
- no_packages_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: no_packages_url }
= _('Learn how to %{no_packages_link_start}publish and share your Maven packages%{no_packages_link_end} with GitLab. Additional package types will be supported in future releases.').html_safe % { no_packages_link_start: no_packages_link_start, no_packages_link_end: '</a>'.html_safe }
= _('Learn how to %{no_packages_link_start}publish and share your packages%{no_packages_link_end} with GitLab.').html_safe % { no_packages_link_start: no_packages_link_start, no_packages_link_end: '</a>'.html_safe }
---
title: Fix packages UI mentioned only Maven packages support
merge_request: 9132
author:
type: changed
......@@ -5192,7 +5192,7 @@ msgstr ""
msgid "Latest pipeline for this branch"
msgstr ""
msgid "Learn how to %{no_packages_link_start}publish and share your Maven packages%{no_packages_link_end} with GitLab. Additional package types will be supported in future releases."
msgid "Learn how to %{no_packages_link_start}publish and share your packages%{no_packages_link_end} with GitLab."
msgstr ""
msgid "Learn more"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment