Commit d7b3bbfc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make MR dicussion and changes tabs more noticable

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f4889f50
...@@ -19,12 +19,19 @@ ...@@ -19,12 +19,19 @@
} }
} }
.merge-request .nav-tabs{ .merge-request .merge-request-tabs{
border-color: #AAA;
li { li {
a { a {
font-weight: bold; border-color: #AAA;
padding: 8px 20px; padding: 14px 40px;
text-align: center; font-size: 14px;
background-color: #F9F9F9;
}
&.active a {
border-color: #AAA;
border-bottom-color: #FFF;
background-color: #FFF;
} }
} }
} }
......
...@@ -12,10 +12,12 @@ ...@@ -12,10 +12,12 @@
= link_to project_merge_request_path(@project, @merge_request) do = link_to project_merge_request_path(@project, @merge_request) do
%i.icon-comment %i.icon-comment
Discussion Discussion
%span.badge= @merge_request.mr_and_commit_notes.count
%li.diffs-tab{data: {action: 'diffs'}} %li.diffs-tab{data: {action: 'diffs'}}
= link_to diffs_project_merge_request_path(@project, @merge_request) do = link_to diffs_project_merge_request_path(@project, @merge_request) do
%i.icon-list-alt %i.icon-list-alt
Changes Changes
%span.badge= @merge_request.diffs.size
- content_for :note_actions do - content_for :note_actions do
- if can?(current_user, :modify_merge_request, @merge_request) - if can?(current_user, :modify_merge_request, @merge_request)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment