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
5fe15beb
Commit
5fe15beb
authored
Sep 03, 2020
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete button class
parent
62582710
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/clusters/clusters_bundle.js
app/assets/javascripts/clusters/clusters_bundle.js
+1
-1
app/views/clusters/clusters/_banner.html.haml
app/views/clusters/clusters/_banner.html.haml
+2
-2
No files found.
app/assets/javascripts/clusters/clusters_bundle.js
View file @
5fe15beb
...
...
@@ -237,7 +237,7 @@ export default class Clusters {
}
addBannerCloseHandler
(
el
,
status
)
{
el
.
querySelector
(
'
.js-close
-banner
'
).
addEventListener
(
'
click
'
,
()
=>
{
el
.
querySelector
(
'
.js-close
'
).
addEventListener
(
'
click
'
,
()
=>
{
el
.
classList
.
add
(
'
hidden
'
);
this
.
setBannerDismissedState
(
status
,
true
);
});
...
...
app/views/clusters/clusters/_banner.html.haml
View file @
5fe15beb
...
...
@@ -8,14 +8,14 @@
.hidden.row.js-cluster-api-unreachable.gl-alert.gl-alert-warning
{
role:
'alert'
}
=
sprite_icon
(
'warning'
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
%button
.js-close
-banner
.gl-alert-dismiss
{
type:
'button'
,
'aria-label'
=>
_
(
'Dismiss'
)
}
%button
.js-close.gl-alert-dismiss
{
type:
'button'
,
'aria-label'
=>
_
(
'Dismiss'
)
}
=
sprite_icon
(
'close'
,
css_class:
'gl-icon'
)
.gl-alert-body
=
s_
(
'ClusterIntegration|Your cluster API is unreachable. Please ensure your API URL is correct.'
)
.hidden.js-cluster-authentication-failure.js-cluster-api-unreachable.gl-alert.gl-alert-warning
{
role:
'alert'
}
=
sprite_icon
(
'warning'
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
%button
.js-close
-banner
.gl-alert-dismiss
{
type:
'button'
,
'aria-label'
=>
_
(
'Dismiss'
)
}
%button
.js-close.gl-alert-dismiss
{
type:
'button'
,
'aria-label'
=>
_
(
'Dismiss'
)
}
=
sprite_icon
(
'close'
,
css_class:
'gl-icon'
)
.gl-alert-body
=
s_
(
'ClusterIntegration|There was a problem authenticating with your cluster. Please ensure your CA Certificate and Token are valid.'
)
...
...
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