Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
170eb979
Commit
170eb979
authored
Nov 30, 2021
by
Michael Le
Committed by
Brandon Labuschagne
Nov 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to wiki page title description to "Learn more"
parent
dadc7810
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
app/assets/javascripts/pages/shared/wikis/components/wiki_form.vue
...s/javascripts/pages/shared/wikis/components/wiki_form.vue
+4
-5
locale/gitlab.pot
locale/gitlab.pot
+1
-1
spec/frontend/pages/shared/wikis/components/wiki_form_spec.js
.../frontend/pages/shared/wikis/components/wiki_form_spec.js
+1
-1
No files found.
app/assets/javascripts/pages/shared/wikis/components/wiki_form.vue
View file @
170eb979
...
...
@@ -47,7 +47,7 @@ export default {
newPage
:
s__
(
'
WikiPage|Tip: You can specify the full path for the new file. We will automatically create any missing directories.
'
,
),
moreInformation
:
s__
(
'
WikiPage|More Information
.
'
),
learnMore
:
s__
(
'
WikiPage|Learn more
.
'
),
},
},
format
:
{
...
...
@@ -402,10 +402,9 @@ export default {
<span
class=
"gl-display-inline-block gl-max-w-full gl-mt-2 gl-text-gray-600"
>
<gl-icon
class=
"gl-mr-n1"
name=
"bulb"
/>
{{
titleHelpText
}}
<gl-link
:href=
"helpPath"
target=
"_blank"
><gl-icon
name=
"question-o"
/>
{{
$options
.
i18n
.
title
.
helpText
.
moreInformation
}}
</gl-link
>
<gl-link
:href=
"helpPath"
target=
"_blank"
>
{{
$options
.
i18n
.
title
.
helpText
.
learnMore
}}
</gl-link>
</span>
</div>
</div>
...
...
locale/gitlab.pot
View file @
170eb979
...
...
@@ -39319,7 +39319,7 @@ msgstr ""
msgid "WikiPage|Keep editing"
msgstr ""
msgid "WikiPage|
More Information
."
msgid "WikiPage|
Learn more
."
msgstr ""
msgid "WikiPage|Page title"
...
...
spec/frontend/pages/shared/wikis/components/wiki_form_spec.js
View file @
170eb979
...
...
@@ -38,7 +38,7 @@ describe('WikiForm', () => {
wrapper
.
findByRole
(
'
button
'
,
{
name
:
'
Try this later
'
});
const
findSwitchToOldEditorButton
=
()
=>
wrapper
.
findByRole
(
'
button
'
,
{
name
:
'
Switch me back to the classic editor.
'
});
const
findTitleHelpLink
=
()
=>
wrapper
.
findByRole
(
'
link
'
,
{
name
:
'
More Information
.
'
});
const
findTitleHelpLink
=
()
=>
wrapper
.
findByRole
(
'
link
'
,
{
name
:
'
Learn more
.
'
});
const
findMarkdownHelpLink
=
()
=>
wrapper
.
findByTestId
(
'
wiki-markdown-help-link
'
);
const
findContentEditor
=
()
=>
wrapper
.
findComponent
(
ContentEditor
);
const
findClassicEditor
=
()
=>
wrapper
.
findComponent
(
MarkdownField
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment