diff --git a/apps/common/main/lib/template/Comments.template b/apps/common/main/lib/template/Comments.template index 771ac2190c..c7d8170265 100644 --- a/apps/common/main/lib/template/Comments.template +++ b/apps/common/main/lib/template/Comments.template @@ -101,9 +101,9 @@ <% } %> <% } %> <% if (editable && !scope.viewmode) { %> -
+
<% } else if ((!editable || scope.viewmode) && resolved) { %> -
+
<% } %> <% } %> diff --git a/apps/common/main/lib/template/CommentsPopover.template b/apps/common/main/lib/template/CommentsPopover.template index d43b79abf7..e09499a79f 100644 --- a/apps/common/main/lib/template/CommentsPopover.template +++ b/apps/common/main/lib/template/CommentsPopover.template @@ -100,9 +100,9 @@ <% } %> <% } %> <% if (editable && (fullInfoInHint || !hint) && !scope.viewmode) { %> -
+
<% } else if ((fullInfoInHint || !hint) && (!editable || scope.viewmode) && resolved) { %> -
+
<% } %> <% } %> diff --git a/apps/common/main/resources/less/comments.less b/apps/common/main/resources/less/comments.less index ae37d86853..68eff8f413 100644 --- a/apps/common/main/resources/less/comments.less +++ b/apps/common/main/resources/less/comments.less @@ -431,7 +431,11 @@ } } - .btn-resolve, .btn-accept, .icon-resolve { + .btn-resolve.comment-resolved, .icon-resolve.i-comment-resolved { + background-position: 0px -64px; + } + + .btn-resolve:not(.comment-resolved), .btn-accept{ position: relative; &:after { @@ -446,19 +450,6 @@ left: 6px; top: 0px; } - - &.comment-resolved, &.i-comment-resolved { - &:after { - border-color: @icon-success-ie; - border-color: @icon-success; - width: 5px; - height: 9px; - top: 3px; - } - .box-shadow(0 0 0 1px @icon-success-ie); - .box-shadow(0 0 0 1px @icon-success); - border-radius: 18px; - } } .btn-resolve-check {