MR index pollished
This commit is contained in:
parent
2a705c4f40
commit
80f2ef2d02
3 changed files with 19 additions and 5 deletions
|
@ -429,7 +429,7 @@ form {
|
|||
*/
|
||||
.ui-box {
|
||||
background:#F9F9F9;
|
||||
margin-bottom: 40px;
|
||||
margin-bottom: 25px;
|
||||
@include round-borders-all(4px);
|
||||
border-color: #CCC;
|
||||
|
||||
|
|
|
@ -82,3 +82,15 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
li.merge_request {
|
||||
padding:7px 10px;
|
||||
img.avatar {
|
||||
width: 32px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
p {
|
||||
padding: 0px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,12 +15,14 @@
|
|||
→
|
||||
= merge_request.target_branch
|
||||
= image_tag gravatar_icon(merge_request.author_email), :class => "avatar"
|
||||
|
||||
= link_to project_merge_request_path(merge_request.project, merge_request) do
|
||||
%p.row_title= truncate(merge_request.title, :length => 80)
|
||||
|
||||
%span.update-author
|
||||
%strong= merge_request.author_name
|
||||
authored
|
||||
%small.cdark= "##{merge_request.id}"
|
||||
authored by #{merge_request.author_name}
|
||||
= time_ago_in_words(merge_request.created_at)
|
||||
ago
|
||||
- if merge_request.upvotes > 0
|
||||
%span.badge.badge-success= "+#{merge_request.upvotes}"
|
||||
= link_to project_merge_request_path(merge_request.project, merge_request) do
|
||||
%p.row_title= truncate(merge_request.title, :length => 80)
|
||||
|
|
Loading…
Reference in a new issue