Merge "Update order of action buttons for robot comments"
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user