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
50174178
Commit
50174178
authored
Mar 21, 2022
by
Jacques
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate alert to gitlab-ui
Migrated the alert to use the gitllab-ui alert Changelog: changed
parent
2a4b6349
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
app/assets/javascripts/issues/show/components/locked_warning.vue
...ets/javascripts/issues/show/components/locked_warning.vue
+4
-3
No files found.
app/assets/javascripts/issues/show/components/locked_warning.vue
View file @
50174178
<
script
>
import
{
GlSprintf
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
GlSprintf
,
GlLink
,
GlAlert
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
const
alertMessage
=
__
(
...
...
@@ -11,6 +11,7 @@ export default {
components
:
{
GlSprintf
,
GlLink
,
GlAlert
,
},
computed
:
{
currentPath
()
{
...
...
@@ -21,7 +22,7 @@ export default {
</
script
>
<
template
>
<
div
class=
"alert alert-danger
"
>
<
gl-alert
variant=
"danger"
class=
"gl-mb-5"
:dismissible=
"false
"
>
<gl-sprintf
:message=
"$options.alertMessage"
>
<template
#link
="
{ content }">
<gl-link
:href=
"currentPath"
target=
"_blank"
rel=
"nofollow"
>
...
...
@@ -29,5 +30,5 @@ export default {
</gl-link>
</
template
>
</gl-sprintf>
</
div
>
</
gl-alert
>
</template>
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