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
e043fff6
Commit
e043fff6
authored
Nov 08, 2021
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert explore tabs to pajamas
Changelog: other
parent
c138caca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
app/views/explore/projects/_nav.html.haml
app/views/explore/projects/_nav.html.haml
+4
-10
No files found.
app/views/explore/projects/_nav.html.haml
View file @
e043fff6
.top-area
%ul
.nav-links.nav.nav-tabs
=
nav_link
(
page:
[
explore_projects_path
,
explore_root_path
])
do
=
link_to
explore_projects_path
do
=
_
(
'All'
)
=
nav_link
(
page:
starred_explore_projects_path
)
do
=
link_to
starred_explore_projects_path
do
=
_
(
'Most stars'
)
=
nav_link
(
page:
trending_explore_projects_path
)
do
=
link_to
trending_explore_projects_path
do
=
_
(
'Trending'
)
=
gl_tabs_nav
({
class:
'gl-display-flex gl-flex-grow-1 gl-border-none'
})
do
=
gl_tab_link_to
_
(
'All'
),
explore_projects_path
,
{
item_active:
current_page?
(
explore_projects_path
)
||
current_page?
(
explore_root_path
)
}
=
gl_tab_link_to
_
(
'Most stars'
),
starred_explore_projects_path
=
gl_tab_link_to
_
(
'Trending'
),
trending_explore_projects_path
.nav-controls
-
unless
current_user
...
...
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