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
Tatuya Kamada
gitlab-ce
Commits
9839d106
Commit
9839d106
authored
Mar 10, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename dashboard landing page to Your projects
parent
0414b2ae
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+1
-1
features/steps/shared/active_tab.rb
features/steps/shared/active_tab.rb
+1
-1
spec/features/security/dashboard_access_spec.rb
spec/features/security/dashboard_access_spec.rb
+2
-2
No files found.
app/views/layouts/nav/_dashboard.html.haml
View file @
9839d106
...
...
@@ -3,7 +3,7 @@
=
link_to
root_path
,
title:
'Home'
,
class:
'shortcuts-activity'
do
%i
.fa.fa-dashboard
%span
Projects
Your
Projects
=
nav_link
(
path:
'projects#starred'
)
do
=
link_to
starred_dashboard_projects_path
,
title:
'Starred Projects'
do
%i
.fa.fa-star
...
...
features/steps/shared/active_tab.rb
View file @
9839d106
...
...
@@ -26,7 +26,7 @@ module SharedActiveTab
end
step
'the active main tab should be Home'
do
ensure_active_main_tab
(
'
Activity
'
)
ensure_active_main_tab
(
'
Your Projects
'
)
end
step
'the active main tab should be Projects'
do
...
...
spec/features/security/dashboard_access_spec.rb
View file @
9839d106
...
...
@@ -25,8 +25,8 @@ describe "Dashboard access", feature: true do
it
{
is_expected
.
to
be_denied_for
:visitor
}
end
describe
"GET /dashboard/projects"
do
subject
{
projects_dashboard
_path
}
describe
"GET /dashboard/projects
/starred
"
do
subject
{
starred_dashboard_projects
_path
}
it
{
is_expected
.
to
be_allowed_for
:admin
}
it
{
is_expected
.
to
be_allowed_for
: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