Update line-resolve-all checkmark to be green when all discussions resolved
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/37465 Related MRs - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13821 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14042
This commit is contained in:
parent
e21c12375a
commit
066ce8976c
|
@ -778,6 +778,7 @@ ul.notes {
|
|||
background-color: transparent;
|
||||
border: none;
|
||||
outline: 0;
|
||||
color: $gray-darkest;
|
||||
transition: color $general-hover-transition-duration $general-hover-transition-curve;
|
||||
|
||||
&.is-disabled {
|
||||
|
@ -801,7 +802,7 @@ ul.notes {
|
|||
}
|
||||
|
||||
svg {
|
||||
fill: $gray-darkest;
|
||||
fill: currentColor;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
|
|
@ -62,7 +62,10 @@
|
|||
":class" => "{ 'has-next-btn': !loggedOut && resolvedDiscussionCount !== discussionCount }" }
|
||||
%span.line-resolve-btn.is-disabled{ type: "button",
|
||||
":class" => "{ 'is-active': resolvedDiscussionCount === discussionCount }" }
|
||||
= render "shared/icons/icon_status_success.svg"
|
||||
%template{ 'v-if' => 'resolvedDiscussionCount === discussionCount' }
|
||||
= render 'shared/icons/icon_status_success_solid.svg'
|
||||
%template{ 'v-else' => '' }
|
||||
= render 'shared/icons/icon_resolve_discussion.svg'
|
||||
%span.line-resolve-text
|
||||
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
|
||||
= render "discussions/new_issue_for_all_discussions", merge_request: @merge_request
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: Update x/x discussions resolved checkmark icon to be green when all discussions
|
||||
resolved
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in New Issue