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
09840393
Commit
09840393
authored
Nov 12, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing icon in alert
parent
312b6f17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
app/assets/javascripts/ide/components/terminal/empty_state.vue
...ssets/javascripts/ide/components/terminal/empty_state.vue
+3
-6
spec/frontend/ide/components/terminal/empty_state_spec.js
spec/frontend/ide/components/terminal/empty_state_spec.js
+1
-1
No files found.
app/assets/javascripts/ide/components/terminal/empty_state.vue
View file @
09840393
...
...
@@ -62,12 +62,9 @@ export default {
{{
__
(
'
Start Web Terminal
'
)
}}
</gl-button>
</p>
<gl-alert
v-if=
"!isValid && message"
v-safe-html=
"message"
variant=
"tip"
:dismissable=
"false"
/>
<gl-alert
v-if=
"!isValid && message"
variant=
"tip"
:dismissable=
"false"
>
<span
v-safe-html=
"message"
></span>
</gl-alert>
<p
v-else
>
<a
v-if=
"helpPath"
...
...
spec/frontend/ide/components/terminal/empty_state_spec.js
View file @
09840393
...
...
@@ -101,6 +101,6 @@ describe('IDE TerminalEmptyState', () => {
});
expect
(
wrapper
.
find
(
GlButton
).
props
(
'
disabled
'
)).
toBe
(
true
);
expect
(
wrapper
.
find
(
GlAlert
).
element
.
innerHTML
).
toBe
(
TEST_HTML_MESSAGE
);
expect
(
wrapper
.
find
(
GlAlert
).
html
()).
toContain
(
TEST_HTML_MESSAGE
);
});
});
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