Commit 64f3a6f4 authored by Clement Ho's avatar Clement Ho

Merge branch 'add-npm-to-packages-views' into 'master'

Fix packages UI mentioned only Maven packages support

Closes #9160

See merge request gitlab-org/gitlab-ee!9132
parents 3951cac2 ff4f1539
...@@ -321,7 +321,7 @@ export default { ...@@ -321,7 +321,7 @@ export default {
v-if="packagesAvailable" v-if="packagesAvailable"
:help-path="packagesHelpPath" :help-path="packagesHelpPath"
label="Packages" 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 <project-feature-toggle
v-model="packagesEnabled" v-model="packagesEnabled"
......
...@@ -46,6 +46,6 @@ ...@@ -46,6 +46,6 @@
.text-content .text-content
%h4.text-center= _('There are no packages yet') %h4.text-center= _('There are no packages yet')
%p %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 } - 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
...@@ -5204,7 +5204,7 @@ msgstr "" ...@@ -5204,7 +5204,7 @@ msgstr ""
msgid "Latest pipeline for this branch" msgid "Latest pipeline for this branch"
msgstr "" 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 "" msgstr ""
msgid "Learn more" 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