Merge "Update order of action buttons for robot comments"

This commit is contained in:
Dhruv Srivastava
2020-02-12 09:24:43 +00:00
committed by Gerrit Code Review

View File

@@ -328,6 +328,18 @@ limitations under the License.
</div>
<div class="robotActions" hidden$="[[!_showRobotActions]]">
<template is="dom-if" if="[[isRobotComment]]">
<gr-endpoint-decorator name="robot-comment-controls">
<gr-endpoint-param name="comment" value="[[comment]]">
</gr-endpoint-param>
</gr-endpoint-decorator>
<gr-button
link
secondary
class="action show-fix"
hidden$="[[_hasNoFix(comment)]]"
on-click="_handleShowFix">
Show Fix
</gr-button>
<template is="dom-if" if="[[!_hasHumanReply]]">
<gr-button
link
@@ -337,18 +349,6 @@ limitations under the License.
Please Fix
</gr-button>
</template>
<gr-button
link
secondary
class="action show-fix"
hidden$="[[_hasNoFix(comment)]]"
on-click="_handleShowFix">
Show Fix
</gr-button>
<gr-endpoint-decorator name="robot-comment-controls">
<gr-endpoint-param name="comment" value="[[comment]]">
</gr-endpoint-param>
</gr-endpoint-decorator>
</template>
</div>
</div>