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
Boxiang Sun
gitlab-ce
Commits
214f20d6
Commit
214f20d6
authored
Apr 23, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix explore groups landing toggle
parent
d8f5aa30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/pages/explore/groups/index.js
app/assets/javascripts/pages/explore/groups/index.js
+1
-1
app/views/explore/groups/index.html.haml
app/views/explore/groups/index.html.haml
+1
-1
No files found.
app/assets/javascripts/pages/explore/groups/index.js
View file @
214f20d6
...
@@ -12,5 +12,5 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -12,5 +12,5 @@ document.addEventListener('DOMContentLoaded', () => {
landingElement
.
querySelector
(
'
.dismiss-button
'
),
landingElement
.
querySelector
(
'
.dismiss-button
'
),
'
explore_groups_landing_dismissed
'
,
'
explore_groups_landing_dismissed
'
,
);
);
exploreGroupsLanding
.
toggle
Class
(
'
hidden
'
);
exploreGroupsLanding
.
toggle
(
);
});
});
app/views/explore/groups/index.html.haml
View file @
214f20d6
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
=
render
'nav'
=
render
'nav'
-
if
cookies
[
:explore_groups_landing_dismissed
]
!=
'true'
-
if
cookies
[
:explore_groups_landing_dismissed
]
!=
'true'
.explore-groups.landing.content-block.js-explore-groups-landing.hid
den
.explore-groups.landing.content-block.js-explore-groups-landing.hid
e
%button
.dismiss-button
{
type:
'button'
,
'aria-label'
=>
'Dismiss'
}=
icon
(
'times'
)
%button
.dismiss-button
{
type:
'button'
,
'aria-label'
=>
'Dismiss'
}=
icon
(
'times'
)
.svg-container
.svg-container
=
custom_icon
(
'icon_explore_groups_splash'
)
=
custom_icon
(
'icon_explore_groups_splash'
)
...
...
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