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
Léo-Paul Géneau
gitlab-ce
Commits
4002561e
Commit
4002561e
authored
Sep 11, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New landing page when you have 0 projects
parent
fc6ed495
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
12 deletions
+45
-12
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+9
-0
app/views/dashboard/_zero_authorized_projects.html.haml
app/views/dashboard/_zero_authorized_projects.html.haml
+36
-12
No files found.
app/assets/stylesheets/common.scss
View file @
4002561e
...
@@ -373,3 +373,12 @@ table {
...
@@ -373,3 +373,12 @@ table {
text-align
:
center
;
text-align
:
center
;
}
}
}
}
.dashboard-intro-icon
{
float
:
left
;
font-size
:
32px
;
color
:
#AAA
;
padding
:
5px
0
;
width
:
50px
;
min-height
:
100px
;
}
app/views/dashboard/_zero_authorized_projects.html.haml
View file @
4002561e
%h3
.nothing_here_message
%h3
.page-title
Welcome to GitLab!
You don't have access to any projects.
%p
.light
Self Hosted Git Management application.
%br
%hr
-
if
current_user
.
can_create_project?
%div
You can create up to
.dashboard-intro-icon
=
pluralize
(
current_user
.
projects_limit
,
"project"
)
+
"."
%i
.icon-bookmark-empty
Click on the button below to add a new one
%div
.link_holder
%p
.slead
=
link_to
new_project_path
,
class:
"btn btn-primary"
do
You don't have access to any projects right now.
New Project »
%br
-
else
-
if
current_user
.
can_create_project?
If you are added to a project, it will be displayed here
You can create up to
%strong
=
pluralize
(
current_user
.
projects_limit
,
"project"
)
+
"."
Click on the button below to add a new one
-
else
If you are added to a project, it will be displayed here
-
if
current_user
.
can_create_project?
.link_holder
=
link_to
new_project_path
,
class:
"btn btn-new"
do
New project »
-
if
current_user
.
can_create_group?
%hr
%div
.dashboard-intro-icon
%i
.icon-group
%div
%p
.slead
You can create a group for several dependent projects.
%br
Group is the best way to manage projects and members
.link_holder
=
link_to
new_group_path
,
class:
"btn btn-new"
do
New group »
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