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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
d04a017a
Commit
d04a017a
authored
Apr 13, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed tests
parent
32a387a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/views/shared/_user_callout.html.haml
app/views/shared/_user_callout.html.haml
+2
-2
spec/javascripts/user_callout_spec.js
spec/javascripts/user_callout_spec.js
+0
-1
No files found.
app/views/shared/_user_callout.html.haml
View file @
d04a017a
.user-callout
.bordered-box.landing.content-block
%button
.btn.btn-default.close.
close-user
-callout
{
type:
'button'
,
%button
.btn.btn-default.close.
js-close
-callout
{
type:
'button'
,
'aria-label'
=>
'Dismiss customize experience box'
}
=
icon
(
'times'
,
class:
'dismiss-icon'
,
'aria-hidden'
=>
'true'
)
.svg-container
...
...
@@ -10,4 +10,4 @@
Customize your experience
%p
Change syntax themes, default project pages, and more in preferences.
=
link_to
'Check it out'
,
profile_preferences_path
,
class:
'btn btn-primary
user-callout-btn
'
=
link_to
'Check it out'
,
profile_preferences_path
,
class:
'btn btn-primary
js-close-callout
'
spec/javascripts/user_callout_spec.js
View file @
d04a017a
...
...
@@ -14,7 +14,6 @@ describe('UserCallout', function () {
this
.
userCallout
=
new
UserCallout
();
this
.
closeButton
=
$
(
'
.js-close-callout.close
'
);
this
.
userCalloutBtn
=
$
(
'
.js-close-callout:not(.close)
'
);
this
.
userCalloutContainer
=
$
(
'
.user-callout
'
);
});
it
(
'
hides when user clicks on the dismiss-icon
'
,
(
done
)
=>
{
...
...
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