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
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+6
-0
app/views/projects/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 @@
}
}
.project-public-holder
{
.help-inline
{
padding-top
:
7px
;
}
}
.save-project-loader
{
img
{
margin-top
:
50px
;
...
...
app/views/projects/new.html.haml
View file @
83b212a4
...
...
@@ -2,13 +2,7 @@
.project-edit-errors
=
render
'projects/errors'
.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
|
.control-group.project-name-holder
=
f
.
label
:name
do
...
...
@@ -53,6 +47,12 @@
%span
.light
(optional)
.controls
=
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
=
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