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
83b212a4
Commit
83b212a4
authored
Sep 13, 2013
by
Joerg Bornschein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add public-project? checkbox to new-project view
parent
4d5cdbd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
projects.scss
app/assets/stylesheets/sections/projects.scss
+6
-0
new.html.haml
app/views/projects/new.html.haml
+7
-7
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
83b212a4
...
@@ -36,6 +36,12 @@
...
@@ -36,6 +36,12 @@
}
}
}
}
.project-public-holder
{
.help-inline
{
padding-top
:
7px
;
}
}
.save-project-loader
{
.save-project-loader
{
img
{
img
{
margin-top
:
50px
;
margin-top
:
50px
;
...
...
app/views/projects/new.html.haml
View file @
83b212a4
...
@@ -2,13 +2,7 @@
...
@@ -2,13 +2,7 @@
.project-edit-errors
.project-edit-errors
=
render
'projects/errors'
=
render
'projects/errors'
.project-edit-content
.project-edit-content
-
if
Gitlab
.
config
.
gitlab
.
default_projects_features
.
public
%p
.slead
New projects are public by default. Any signed in user can see your project but cannot commit to it unless granted access.
-
else
%p
.slead
New projects are private by default. You choose who can see the project and commit to repository.
%hr
=
form_for
@project
,
remote:
true
do
|
f
|
=
form_for
@project
,
remote:
true
do
|
f
|
.control-group.project-name-holder
.control-group.project-name-holder
=
f
.
label
:name
do
=
f
.
label
:name
do
...
@@ -53,6 +47,12 @@
...
@@ -53,6 +47,12 @@
%span
.light
(optional)
%span
.light
(optional)
.controls
.controls
=
f
.
text_area
:description
,
placeholder:
"awesome project"
,
class:
"input-xlarge"
,
rows:
3
,
maxlength:
250
,
tabindex:
3
=
f
.
text_area
:description
,
placeholder:
"awesome project"
,
class:
"input-xlarge"
,
rows:
3
,
maxlength:
250
,
tabindex:
3
.control-group.project-public-holder
=
f
.
label
:public
do
%span
Public project
.controls
=
f
.
check_box
:public
,
{
:checked
=>
Gitlab
.
config
.
gitlab
.
default_projects_features
.
public
},
true
,
false
%span
.help-inline
Make project visible to everyone
.form-actions
.form-actions
=
f
.
submit
'Create project'
,
class:
"btn btn-create project-submit"
,
tabindex:
4
=
f
.
submit
'Create project'
,
class:
"btn btn-create project-submit"
,
tabindex:
4
...
...
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