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
23d1b918
Commit
23d1b918
authored
Sep 04, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Projects Dropdown View Partial
parent
8c70224d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
app/views/layouts/nav/projects_dropdown/_show.html.haml
app/views/layouts/nav/projects_dropdown/_show.html.haml
+14
-0
No files found.
app/views/layouts/nav/projects_dropdown/_show.html.haml
0 → 100644
View file @
23d1b918
.projects-dropdown-container
.project-dropdown-sidebar
%ul
=
nav_link
(
path:
'dashboard/projects#index'
)
do
=
link_to
dashboard_projects_path
do
=
_
(
'Your projects'
)
=
nav_link
(
path:
'projects#starred'
)
do
=
link_to
starred_dashboard_projects_path
do
=
_
(
'Starred projects'
)
=
nav_link
(
path:
'projects#trending'
)
do
=
link_to
explore_root_path
do
=
_
(
'Explore projects'
)
.project-dropdown-content
#js-projects-dropdown
{
data:
{
user_name:
current_user
.
username
,
project:
({
id:
@project
.
id
,
name:
@project
.
name
,
namespace:
@project
.
name_with_namespace
,
web_url:
@project
.
web_url
,
avatar_url:
@project
.
avatar_url
}
if
@project
.
present?
)
}
}
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