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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
0530e5ba
Commit
0530e5ba
authored
Dec 02, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add description to project features on edit project page
parent
e117414e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
13 deletions
+40
-13
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+13
-0
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+6
-0
app/views/projects/_form.html.haml
app/views/projects/_form.html.haml
+21
-13
No files found.
app/assets/stylesheets/common.scss
View file @
0530e5ba
...
@@ -679,3 +679,16 @@ h1.http_status_code {
...
@@ -679,3 +679,16 @@ h1.http_status_code {
font-weight
:
normal
;
font-weight
:
normal
;
color
:
#456
;
color
:
#456
;
}
}
.control-group
{
.controls
{
span
{
&
.descr
{
position
:
relative
;
top
:
2px
;
left
:
5px
;
color
:
#666
;
}
}
}
}
app/assets/stylesheets/sections/projects.scss
View file @
0530e5ba
...
@@ -74,6 +74,12 @@
...
@@ -74,6 +74,12 @@
.adv_settings
{
.adv_settings
{
h6
{
margin-left
:
40px
;
}
h6
{
margin-left
:
40px
;
}
}
}
fieldset
.features
{
.control-label
{
font-weight
:
bold
;
}
}
}
}
.project_clone_panel
{
.project_clone_panel
{
...
...
app/views/projects/_form.html.haml
View file @
0530e5ba
...
@@ -30,24 +30,32 @@
...
@@ -30,24 +30,32 @@
=
f
.
label
:default_branch
,
"Default Branch"
=
f
.
label
:default_branch
,
"Default Branch"
.input
=
f
.
select
(
:default_branch
,
@project
.
heads
.
map
(
&
:name
),
{},
style:
"width:210px;"
)
.input
=
f
.
select
(
:default_branch
,
@project
.
heads
.
map
(
&
:name
),
{},
style:
"width:210px;"
)
%fieldset
%fieldset
.features
%legend
Features:
%legend
Features:
.clearfix
.control-group
=
f
.
label
:issues_enabled
,
"Issues"
=
f
.
label
:issues_enabled
,
"Issues"
,
class:
'control-label'
.input
=
f
.
check_box
:issues_enabled
.controls
=
f
.
check_box
:issues_enabled
%span
.descr
Lightweight issue tracking system for this project
.clearfix
.control-group
=
f
.
label
:merge_requests_enabled
,
"Merge Requests"
=
f
.
label
:merge_requests_enabled
,
"Merge Requests"
,
class:
'control-label'
.input
=
f
.
check_box
:merge_requests_enabled
.controls
=
f
.
check_box
:merge_requests_enabled
%span
.descr
Submit changes to be merged upstream.
.clearfix
.control-group
=
f
.
label
:wall_enabled
,
"Wall"
=
f
.
label
:wall_enabled
,
"Wall"
,
class:
'control-label'
.input
=
f
.
check_box
:wall_enabled
.controls
=
f
.
check_box
:wall_enabled
%span
.descr
Simple chat system for broadcasting inside project
.clearfix
.control-group
=
f
.
label
:wiki_enabled
,
"Wiki"
=
f
.
label
:wiki_enabled
,
"Wiki"
,
class:
'control-label'
.input
=
f
.
check_box
:wiki_enabled
.controls
=
f
.
check_box
:wiki_enabled
%span
.descr
Pages for project documentation
%br
%br
...
...
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