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
c741b421
Commit
c741b421
authored
Apr 15, 2020
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename GlNewButton to GlButton
The GlNewButton component has been renamed to GlButton in Gitlab UI 12.0
parent
383c0d19
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
app/assets/javascripts/static_site_editor/components/invalid_content_message.vue
...static_site_editor/components/invalid_content_message.vue
+4
-4
ee/app/assets/javascripts/packages/list/components/packages_list_row.vue
...avascripts/packages/list/components/packages_list_row.vue
+3
-3
ee/spec/frontend/packages/list/components/__snapshots__/packages_list_row_spec.js.snap
...t/components/__snapshots__/packages_list_row_spec.js.snap
+1
-1
No files found.
app/assets/javascripts/static_site_editor/components/invalid_content_message.vue
View file @
c741b421
<
script
>
import
{
Gl
New
Button
}
from
'
@gitlab/ui
'
;
import
{
GlButton
}
from
'
@gitlab/ui
'
;
export
default
{
components
:
{
Gl
New
Button
,
GlButton
,
},
};
</
script
>
...
...
@@ -19,10 +19,10 @@ export default {
}}
</p>
<div>
<gl-
new-
button
<gl-button
ref=
"documentationButton"
href=
"https://gitlab.com/gitlab-org/project-templates/static-site-editor-middleman"
>
{{
s__
(
'
StaticSiteEditor|View documentation
'
)
}}
</gl-
new-
button
>
{{
s__
(
'
StaticSiteEditor|View documentation
'
)
}}
</gl-button
>
</div>
</div>
...
...
ee/app/assets/javascripts/packages/list/components/packages_list_row.vue
View file @
c741b421
<
script
>
import
PackageTags
from
'
../../shared/components/package_tags.vue
'
;
import
PublishMethod
from
'
./publish_method.vue
'
;
import
{
Gl
New
Button
,
GlIcon
,
GlLink
,
GlSprintf
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlIcon
,
GlLink
,
GlSprintf
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
getPackageType
}
from
'
../../shared/utils
'
;
import
timeagoMixin
from
'
~/vue_shared/mixins/timeago
'
;
import
{
mapState
}
from
'
vuex
'
;
...
...
@@ -9,7 +9,7 @@ import { mapState } from 'vuex';
export
default
{
name
:
'
PackagesListRow
'
,
components
:
{
Gl
New
Button
,
GlButton
,
GlIcon
,
GlLink
,
GlSprintf
,
...
...
@@ -108,7 +108,7 @@ export default {
</div>
<div
v-if=
"deleteAvailable"
class=
"table-section section-10 d-flex justify-content-end"
>
<gl-
new-
button
<gl-button
ref=
"action-delete"
icon=
"remove"
category=
"primary"
...
...
ee/spec/frontend/packages/list/components/__snapshots__/packages_list_row_spec.js.snap
View file @
c741b421
...
...
@@ -84,7 +84,7 @@ exports[`packages_list_row renders 1`] = `
<div
class="table-section section-10 d-flex justify-content-end"
>
<gl-
new-
button-stub
<gl-button-stub
aria-label="Remove package"
category="primary"
icon="remove"
...
...
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