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
055c2f1e
Commit
055c2f1e
authored
Feb 13, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "New Project" button to dashboard projects page.
parent
529188e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
app/views/dashboard/_zero_authorized_projects.html.haml
app/views/dashboard/_zero_authorized_projects.html.haml
+5
-3
app/views/dashboard/projects.html.haml
app/views/dashboard/projects.html.haml
+4
-0
No files found.
app/views/dashboard/_zero_authorized_projects.html.haml
View file @
055c2f1e
...
...
@@ -17,7 +17,8 @@
-
if
current_user
.
can_create_project?
.link_holder
=
link_to
new_project_path
,
class:
"btn btn-new"
do
New project »
%i
.fa.fa-plus
New Project
-
if
current_user
.
can_create_group?
%hr
...
...
@@ -31,7 +32,8 @@
Groups are the best way to manage projects and members.
.link_holder
=
link_to
new_group_path
,
class:
"btn btn-new"
do
New group »
%i
.fa.fa-plus
New Group
-
if
@publicish_project_count
>
0
%hr
...
...
@@ -47,4 +49,4 @@
Public projects are an easy way to allow everyone to have read-only access.
.link_holder
=
link_to
trending_explore_projects_path
,
class:
"btn btn-new"
do
Browse public projects
»
Browse public projects
app/views/dashboard/projects.html.haml
View file @
055c2f1e
%h3
.page-title
My Projects
=
link_to
new_project_path
,
class:
"btn btn-new pull-right"
do
%i
.fa.fa-plus
New Project
%p
.light
All projects you have access to are listed here. Public projects are not included here unless you are a member
%hr
...
...
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