algairim commented on code in PR #334:
URL: https://github.com/apache/brooklyn-ui/pull/334#discussion_r895626423


##########
ui-modules/app-inspector/app/components/entity-effector/modal/modal.template.html:
##########
@@ -59,8 +59,37 @@ <h3>Parameters</h3>
             </div>
         </div>
     </section>
+    <br ng-if="vm.cli"/>
+    <section ng-if="vm.cli">
+        <h3>CLI</h3>
+        <div class="cli-content">
+            <span class="extras">
+                <button class="btn copy-btn btn-default btn-sm" ngclipboard 
ngclipboard-success="onClipboardSuccess(e)"
+                        data-clipboard-text="{{brCmd()}}" uib-tooltip="Copied!"
+                        tooltip-trigger="{'copied': 'mouseleave'}" 
tooltip-placement="left"
+                        tooltip-append-to-body="true">
+                    <i class="fa fa-clipboard"></i>
+                </button>
+            </span>
+            <pre>{{brCmd()}}</pre>
+        </div>
+    </section>
+    <section ng-if="vm.cli">
+        <h3>REST</h3>

Review Comment:
   I'll keep `REST`, as it was agreed earlier.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to