Skip to content

Commit

Permalink
Update the VM remote console button to the new unified HTML5 console
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jul 1, 2019
1 parent a587543 commit 5a5735b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/app/services/service-details/service-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ <h2 translate>Resources</h2>
</div>
<div class="btn-group" uib-dropdown dropdown-append-to-body
ng-if="($ctrl.customScope.permissions.cockpit || $ctrl.customScope.permissions.console)
&& (item.supported_consoles.vnc.visible || item.supported_consoles.vnc.message
&& (item.supported_consoles.html5.visible || item.supported_consoles.html5.message
|| item.supported_consoles.cockpit.visible || item.supported_consoles.cockpit.message)"> <button type="button" class="btn btn-default" uib-dropdown-toggle
type="button">
<i class="fa fa-window-maximize "></i>
Expand All @@ -296,13 +296,13 @@ <h2 translate>Resources</h2>
</button>
<ul class="dropdown-menu dropdown-menu-right" uib-dropdown-menu role="menu"
aria-labelledby="btn-append-to-to-body">
<li ng-if="item.supported_consoles.vnc.visible || item.supported_consoles.vnc.message"
<li ng-if="item.supported_consoles.html5.visible || item.supported_consoles.html5.message"
role="menuitem"
uib-tooltip="{{item.supported_consoles.vnc.message}}"
uib-tooltip="{{item.supported_consoles.html5.message}}"
tooltip-placement="bottom"
ng-class="{'disabled': !item.supported_consoles.vnc.enabled || !$ctrl.customScope.permissions.console}"
ng-class="{'disabled': !item.supported_consoles.html5.enabled || !$ctrl.customScope.permissions.console}"
ng-click="$ctrl.customScope.openConsole(item)">
<a href="#" translate>VM Console</a>
<a href="#" translate>VM HTML5 Console</a>
</li>
<li ng-if="item.supported_consoles.cockpit.visible || item.supported_consoles.cockpit.message"
role="menuitem"
Expand Down

0 comments on commit 5a5735b

Please sign in to comment.