diff --git a/rhodecode/controllers/pullrequests.py b/rhodecode/controllers/pullrequests.py --- a/rhodecode/controllers/pullrequests.py +++ b/rhodecode/controllers/pullrequests.py @@ -833,7 +833,7 @@ class PullrequestsController(BaseRepoCon _merge_check = MergeCheck.validate( pull_request_latest, user=c.rhodecode_user) - c.pr_merge_errors = _merge_check.errors + c.pr_merge_errors = _merge_check.error_details c.pr_merge_possible = not _merge_check.failed c.pr_merge_message = _merge_check.merge_msg diff --git a/rhodecode/public/css/comments.less b/rhodecode/public/css/comments.less --- a/rhodecode/public/css/comments.less +++ b/rhodecode/public/css/comments.less @@ -4,6 +4,8 @@ // Comments +@comment-outdated-opacity: 0.6; + .comments { width: 100%; } @@ -91,7 +93,6 @@ tr.inline-comments div { margin: 2px 8px; font-family: @text-italic; } - } @@ -238,11 +239,16 @@ tr.inline-comments div { .pr-version-num { font-size: 10px; } - } @comment-padding: 5px; +.general-comments { + .comment-outdated { + opacity: @comment-outdated-opacity; + } +} + .inline-comments { border-radius: @border-radius; .comment { @@ -250,7 +256,7 @@ tr.inline-comments div { border-radius: @border-radius; } .comment-outdated { - opacity: 0.5; + opacity: @comment-outdated-opacity; } .comment-inline { @@ -490,6 +496,11 @@ form.comment-form { padding: 8px 12px; border: 1px solid @grey5; .border-radius(@border-radius); + + .resolve-action { + padding: 1px 0px 0px 6px; + } + } .comment-area-header .nav-links { diff --git a/rhodecode/public/js/src/rhodecode/comments.js b/rhodecode/public/js/src/rhodecode/comments.js --- a/rhodecode/public/js/src/rhodecode/comments.js +++ b/rhodecode/public/js/src/rhodecode/comments.js @@ -116,7 +116,7 @@ var bindToggleButtons = function() { }, 10); var resolvedInfo = ( - '