BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
f014fce1
Unverified
Commit
f014fce1
authored
Nov 07, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add four blocks to each welcome page
parent
250d606a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
10 deletions
+28
-10
_blank_state_admin_welcome.html.haml
...s/dashboard/projects/_blank_state_admin_welcome.html.haml
+15
-4
_blank_state_welcome.html.haml
app/views/dashboard/projects/_blank_state_welcome.html.haml
+13
-6
No files found.
app/views/dashboard/projects/_blank_state_admin_welcome.html.haml
View file @
f014fce1
.row
.col-md-6
=
link_to
new_
admin_user
_path
,
class:
"blank-state-link"
do
=
link_to
new_
project
_path
,
class:
"blank-state-link"
do
.blank-state
.blank-state-icon
=
custom_icon
(
"add_new_
user
"
,
size:
50
)
=
custom_icon
(
"add_new_
project
"
,
size:
50
)
.blank-state-body
%h3
.blank-state-title
Add user
Create a project
%p
.blank-state-text
Add your team members and others to
GitLab.
Projects are where you store your code, access issues, wiki and other features of
GitLab.
-
if
current_user
.
can_create_group?
.col-md-6
...
...
@@ -23,6 +23,17 @@
Groups are a great way to organize projects and people.
.col-md-6
=
link_to
"new_admin_user_path"
,
class:
"blank-state-link"
do
.blank-state
.blank-state-icon
=
custom_icon
(
"add_new_user"
,
size:
50
)
.blank-state-body
%h3
.blank-state-title
Add user
%p
.blank-state-text
Add your team members and others to GitLab.
.col-md-6
=
link_to
admin_root_path
,
class:
"blank-state-link"
do
.blank-state
.blank-state-icon
...
...
app/views/dashboard/projects/_blank_state_welcome.html.haml
View file @
f014fce1
...
...
@@ -11,11 +11,7 @@
%h3
.blank-state-title
Create a project
%p
.blank-state-text
You don't have access to any projects right now.
You can create up to
%strong
=
number_with_delimiter
(
current_user
.
projects_limit
)
=
succeed
"."
do
=
"project"
.
pluralize
(
current_user
.
projects_limit
)
Projects are where you store your code, access issues, wiki and other features of GitLab.
-
else
.blank-state
.blank-state-icon
...
...
@@ -34,7 +30,7 @@
=
custom_icon
(
"add_new_group"
,
size:
50
)
.blank-state-body
%h3
.blank-state-title
Create a group
for several dependent projects.
Create a group
%p
.blank-state-text
Groups are the best way to manage projects and members.
...
...
@@ -55,3 +51,14 @@
public projects on this server.
Public projects are an easy way to allow
everyone to have read-only access.
.col-md-6
=
link_to
"https://docs.gitlab.com/"
,
class:
"blank-state-link"
do
.blank-state
.blank-state-icon
=
custom_icon
(
"globe"
,
size:
50
)
.blank-state-body
%h3
.blank-state-title
Learn more about GitLab
%p
.blank-state-text
Take a look at the documentation to discover all of GitLab's capabilities.
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