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
Show 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 {
...
@@ -47,7 +47,7 @@ export default {
newPage
:
s__
(
newPage
:
s__
(
'
WikiPage|Tip: You can specify the full path for the new file. We will automatically create any missing directories.
'
,
'
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
:
{
format
:
{
...
@@ -402,10 +402,9 @@ export default {
...
@@ -402,10 +402,9 @@ export default {
<span
class=
"gl-display-inline-block gl-max-w-full gl-mt-2 gl-text-gray-600"
>
<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"
/>
<gl-icon
class=
"gl-mr-n1"
name=
"bulb"
/>
{{
titleHelpText
}}
{{
titleHelpText
}}
<gl-link
:href=
"helpPath"
target=
"_blank"
<gl-link
:href=
"helpPath"
target=
"_blank"
>
><gl-icon
name=
"question-o"
/>
{{
$options
.
i18n
.
title
.
helpText
.
learnMore
}}
{{
$options
.
i18n
.
title
.
helpText
.
moreInformation
}}
</gl-link
</gl-link>
>
</span>
</span>
</div>
</div>
</div>
</div>
...
...
locale/gitlab.pot
View file @
170eb979
...
@@ -39319,7 +39319,7 @@ msgstr ""
...
@@ -39319,7 +39319,7 @@ msgstr ""
msgid "WikiPage|Keep editing"
msgid "WikiPage|Keep editing"
msgstr ""
msgstr ""
msgid "WikiPage|
More Information
."
msgid "WikiPage|
Learn more
."
msgstr ""
msgstr ""
msgid "WikiPage|Page title"
msgid "WikiPage|Page title"
...
...
spec/frontend/pages/shared/wikis/components/wiki_form_spec.js
View file @
170eb979
...
@@ -38,7 +38,7 @@ describe('WikiForm', () => {
...
@@ -38,7 +38,7 @@ describe('WikiForm', () => {
wrapper
.
findByRole
(
'
button
'
,
{
name
:
'
Try this later
'
});
wrapper
.
findByRole
(
'
button
'
,
{
name
:
'
Try this later
'
});
const
findSwitchToOldEditorButton
=
()
=>
const
findSwitchToOldEditorButton
=
()
=>
wrapper
.
findByRole
(
'
button
'
,
{
name
:
'
Switch me back to the classic editor.
'
});
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
findMarkdownHelpLink
=
()
=>
wrapper
.
findByTestId
(
'
wiki-markdown-help-link
'
);
const
findContentEditor
=
()
=>
wrapper
.
findComponent
(
ContentEditor
);
const
findContentEditor
=
()
=>
wrapper
.
findComponent
(
ContentEditor
);
const
findClassicEditor
=
()
=>
wrapper
.
findComponent
(
MarkdownField
);
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