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
aca83c9b
Commit
aca83c9b
authored
Aug 07, 2020
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate environments pin button
parent
025f778f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
app/assets/javascripts/environments/components/environment_pin.vue
...s/javascripts/environments/components/environment_pin.vue
+4
-9
changelogs/unreleased/219788-replace-gl-deprecated-button-with-gl-button-in-app-assets-javascri.yml
...precated-button-with-gl-button-in-app-assets-javascri.yml
+5
-0
No files found.
app/assets/javascripts/environments/components/environment_pin.vue
View file @
aca83c9b
...
...
@@ -3,14 +3,14 @@
* Renders a prevent auto-stop button.
* Used in environments table.
*/
import
{
Gl
Deprecated
Button
,
GlTooltipDirective
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlTooltipDirective
,
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
eventHub
from
'
../event_hub
'
;
export
default
{
components
:
{
GlIcon
,
Gl
Deprecated
Button
,
GlButton
,
},
directives
:
{
GlTooltip
:
GlTooltipDirective
,
...
...
@@ -30,12 +30,7 @@ export default {
};
</
script
>
<
template
>
<gl-deprecated-button
v-gl-tooltip
:title=
"$options.title"
:aria-label=
"$options.title"
@
click=
"onPinClick"
>
<gl-button
v-gl-tooltip
:title=
"$options.title"
:aria-label=
"$options.title"
@
click=
"onPinClick"
>
<gl-icon
name=
"thumbtack"
/>
</gl-
deprecated-
button>
</gl-button>
</
template
>
changelogs/unreleased/219788-replace-gl-deprecated-button-with-gl-button-in-app-assets-javascri.yml
0 → 100644
View file @
aca83c9b
---
title
:
Migrate environments pin button
merge_request
:
38891
author
:
George Tsiolis
type
:
changed
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