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
iv
gitlab-ce
Commits
50df9a7c
Commit
50df9a7c
authored
Feb 20, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor css improvements
* lighter color for comments count * better UI for issue assigee.milestone block
parent
abc65bbb
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
59 additions
and
32 deletions
+59
-32
app/assets/stylesheets/sections/issuable.scss
app/assets/stylesheets/sections/issuable.scss
+16
-0
app/assets/stylesheets/sections/note_form.scss
app/assets/stylesheets/sections/note_form.scss
+1
-1
app/views/projects/commits/_commit.html.haml
app/views/projects/commits/_commit.html.haml
+3
-2
app/views/projects/issues/_discussion.html.haml
app/views/projects/issues/_discussion.html.haml
+2
-4
app/views/projects/issues/_issue.html.haml
app/views/projects/issues/_issue.html.haml
+1
-1
app/views/projects/issues/_issue_context.html.haml
app/views/projects/issues/_issue_context.html.haml
+13
-7
app/views/projects/merge_requests/_discussion.html.haml
app/views/projects/merge_requests/_discussion.html.haml
+1
-2
app/views/projects/merge_requests/_merge_request.html.haml
app/views/projects/merge_requests/_merge_request.html.haml
+1
-1
app/views/projects/merge_requests/show/_context.html.haml
app/views/projects/merge_requests/show/_context.html.haml
+20
-13
app/views/projects/merge_requests/show/_participants.html.haml
...iews/projects/merge_requests/show/_participants.html.haml
+1
-1
No files found.
app/assets/stylesheets/sections/issuable.scss
View file @
50df9a7c
...
@@ -23,3 +23,19 @@
...
@@ -23,3 +23,19 @@
}
}
}
}
}
}
.issuable-context-title
{
font-size
:
15px
;
line-height
:
1
.4
;
margin-bottom
:
5px
;
.avatar
{
margin-left
:
0
;
}
label
{
color
:
#666
;
font-weight
:
normal
;
margin-right
:
4px
;
}
}
app/assets/stylesheets/sections/note_form.scss
View file @
50df9a7c
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
color
:
#999
;
color
:
#999
;
background
:
#FFF
;
background
:
#FFF
;
padding
:
5px
;
padding
:
5px
;
margin-top
:
-
7
px
;
margin-top
:
-
11
px
;
border
:
1px
solid
#DDD
;
border
:
1px
solid
#DDD
;
font-size
:
13px
;
font-size
:
13px
;
}
}
app/views/projects/commits/_commit.html.haml
View file @
50df9a7c
...
@@ -16,8 +16,9 @@
...
@@ -16,8 +16,9 @@
-
note_count
=
notes
.
count
-
note_count
=
notes
.
count
-
if
note_count
>
0
-
if
note_count
>
0
%span
.label.label-gray
%span
.light
%i
.fa.fa-comment
=
note_count
%i
.fa.fa-comments
=
note_count
-
if
commit
.
description?
-
if
commit
.
description?
.commit-row-description.js-toggle-content
.commit-row-description.js-toggle-content
...
...
app/views/projects/issues/_discussion.html.haml
View file @
50df9a7c
...
@@ -7,8 +7,7 @@
...
@@ -7,8 +7,7 @@
.row
.row
.col-md-9
.col-md-9
.participants
.participants
%cite
.cgray
%span
=
pluralize
(
@issue
.
participants
.
count
,
'participant'
)
=
pluralize
(
@issue
.
participants
.
count
,
'participant'
)
-
@issue
.
participants
.
each
do
|
participant
|
-
@issue
.
participants
.
each
do
|
participant
|
=
link_to_member
(
@project
,
participant
,
name:
false
,
size:
24
)
=
link_to_member
(
@project
,
participant
,
name:
false
,
size:
24
)
...
@@ -20,7 +19,6 @@
...
@@ -20,7 +19,6 @@
=
cross_project_reference
(
@project
,
@issue
)
=
cross_project_reference
(
@project
,
@issue
)
%hr
%hr
.context
.context
%cite
.cgray
=
render
partial:
'issue_context'
,
locals:
{
issue:
@issue
}
=
render
partial:
'issue_context'
,
locals:
{
issue:
@issue
}
%hr
%hr
.clearfix
.clearfix
...
...
app/views/projects/issues/_issue.html.haml
View file @
50df9a7c
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
.issue-title
.issue-title
%span
.str-truncated
%span
.str-truncated
=
link_to_gfm
issue
.
title
,
project_issue_path
(
issue
.
project
,
issue
),
class:
"row_title"
=
link_to_gfm
issue
.
title
,
project_issue_path
(
issue
.
project
,
issue
),
class:
"row_title"
.pull-right
.pull-right
.light
-
if
issue
.
closed?
-
if
issue
.
closed?
%span
%span
CLOSED
CLOSED
...
...
app/views/projects/issues/_issue_context.html.haml
View file @
50df9a7c
=
form_for
[
@project
,
@issue
],
remote:
true
,
html:
{
class:
'edit-issue inline-update'
}
do
|
f
|
=
form_for
[
@project
,
@issue
],
remote:
true
,
html:
{
class:
'edit-issue inline-update'
}
do
|
f
|
%div
.prepend-top-20
%div
.prepend-top-20
%p
.issuable-context-title
%label
Assignee:
Assignee:
-
if
issue
.
assignee
-
if
issue
.
assignee
=
link_to_member
(
@project
,
@issue
.
assignee
)
%strong
=
link_to_member
(
@project
,
@issue
.
assignee
,
size:
24
)
-
else
-
else
none
none
-
if
can?
(
current_user
,
:modify_issue
,
@issue
)
-
if
can?
(
current_user
,
:modify_issue
,
@issue
)
=
project_users_select_tag
(
'issue[assignee_id]'
,
placeholder:
'Select assignee'
,
class:
'custom-form-control js-select2 js-assignee'
,
selected:
@issue
.
assignee_id
)
=
project_users_select_tag
(
'issue[assignee_id]'
,
placeholder:
'Select assignee'
,
class:
'custom-form-control js-select2 js-assignee'
,
selected:
@issue
.
assignee_id
)
%div
.prepend-top-20
%div
.prepend-top-20.clearfix
%p
.issuable-context-title
%label
Milestone:
Milestone:
-
if
issue
.
milestone
-
if
issue
.
milestone
#{
link_to
@issue
.
milestone
.
title
,
project_milestone_path
(
@project
,
@issue
.
milestone
)
}
%span
.back-to-milestone
=
link_to
project_milestone_path
(
@project
,
@issue
.
milestone
)
do
%strong
%i
.fa.fa-clock-o
=
@issue
.
milestone
.
title
-
else
-
else
none
none
-
if
can?
(
current_user
,
:modify_issue
,
@issue
)
-
if
can?
(
current_user
,
:modify_issue
,
@issue
)
...
...
app/views/projects/merge_requests/_discussion.html.haml
View file @
50df9a7c
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
=
cross_project_reference
(
@project
,
@merge_request
)
=
cross_project_reference
(
@project
,
@merge_request
)
%hr
%hr
.context
.context
%cite
.cgray
=
render
partial:
'projects/merge_requests/show/context'
,
locals:
{
merge_request:
@merge_request
}
=
render
partial:
'projects/merge_requests/show/context'
,
locals:
{
merge_request:
@merge_request
}
%hr
%hr
.votes-holder
.votes-holder
...
...
app/views/projects/merge_requests/_merge_request.html.haml
View file @
50df9a7c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.merge-request-title
.merge-request-title
%span
.str-truncated
%span
.str-truncated
=
link_to_gfm
merge_request
.
title
,
project_merge_request_path
(
merge_request
.
target_project
,
merge_request
),
class:
"row_title"
=
link_to_gfm
merge_request
.
title
,
project_merge_request_path
(
merge_request
.
target_project
,
merge_request
),
class:
"row_title"
.pull-right
.pull-right
.light
-
if
merge_request
.
merged?
-
if
merge_request
.
merged?
%span
%span
%i
.fa.fa-check
%i
.fa.fa-check
...
...
app/views/projects/merge_requests/show/_context.html.haml
View file @
50df9a7c
=
form_for
[
@project
,
@merge_request
],
remote:
true
,
html:
{
class:
'edit-merge_request inline-update'
}
do
|
f
|
=
form_for
[
@project
,
@merge_request
],
remote:
true
,
html:
{
class:
'edit-merge_request inline-update'
}
do
|
f
|
%div
.prepend-top-20
%div
.prepend-top-20
%p
.issuable-context-title
%label
Assignee:
Assignee:
-
if
@merge_request
.
assignee
-
if
@merge_request
.
assignee
=
link_to_member
(
@project
,
@merge_request
.
assignee
)
%strong
=
link_to_member
(
@project
,
@merge_request
.
assignee
,
size:
24
)
-
else
-
else
none
none
.issuable-context-selectbox
-
if
can?
(
current_user
,
:modify_merge_request
,
@merge_request
)
-
if
can?
(
current_user
,
:modify_merge_request
,
@merge_request
)
=
project_users_select_tag
(
'merge_request[assignee_id]'
,
placeholder:
'Select assignee'
,
class:
'custom-form-control js-select2 js-assignee'
,
selected:
@merge_request
.
assignee_id
)
=
project_users_select_tag
(
'merge_request[assignee_id]'
,
placeholder:
'Select assignee'
,
class:
'custom-form-control js-select2 js-assignee'
,
selected:
@merge_request
.
assignee_id
)
%div
.prepend-top-20
%div
.prepend-top-20.clearfix
%p
.issuable-context-title
%label
Milestone:
Milestone:
-
if
@merge_request
.
milestone
-
if
@merge_request
.
milestone
%span
.back-to-milestone
%span
.back-to-milestone
#{
link_to
@merge_request
.
milestone
.
title
,
project_milestone_path
(
@project
,
@merge_request
.
milestone
)
}
=
link_to
project_milestone_path
(
@project
,
@merge_request
.
milestone
)
do
%strong
%i
.fa.fa-clock-o
=
@merge_request
.
milestone
.
title
-
else
-
else
none
none
.issuable-context-selectbox
-
if
can?
(
current_user
,
:modify_merge_request
,
@merge_request
)
-
if
can?
(
current_user
,
:modify_merge_request
,
@merge_request
)
=
f
.
select
(
:milestone_id
,
milestone_options
(
@merge_request
),
{
include_blank:
"Select milestone"
},
{
class:
'select2 select2-compact js-select2 js-milestone'
})
=
f
.
select
(
:milestone_id
,
milestone_options
(
@merge_request
),
{
include_blank:
"Select milestone"
},
{
class:
'select2 select2-compact js-select2 js-milestone'
})
=
hidden_field_tag
:merge_request_context
=
hidden_field_tag
:merge_request_context
...
...
app/views/projects/merge_requests/show/_participants.html.haml
View file @
50df9a7c
.participants
.participants
%
cite
.cgray
#{
@merge_request
.
participants
.
count
}
participants
%
span
#{
@merge_request
.
participants
.
count
}
participants
-
@merge_request
.
participants
.
each
do
|
participant
|
-
@merge_request
.
participants
.
each
do
|
participant
|
=
link_to_member
(
@project
,
participant
,
name:
false
,
size:
24
)
=
link_to_member
(
@project
,
participant
,
name:
false
,
size:
24
)
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