Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BZ#1525692-Hides console buttons when indicated by server sans message #1354

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions client/app/services/service-details/service-details.html
Original file line number Diff line number Diff line change
@@ -278,8 +278,9 @@ <h2 translate>Resources</h2>
</ul>
</div>
<div class="btn-group dropdown-kebab-pf" uib-dropdown dropdown-append-to-body
ng-if="$ctrl.customScope.permissions.cockpit || $ctrl.customScope.permissions.console">
<button type="button" class="btn btn-default" uib-dropdown-toggle
ng-if="($ctrl.customScope.permissions.cockpit || $ctrl.customScope.permissions.console)
&& (item.supported_consoles.vnc.visible || item.supported_consoles.vnc.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>
<span translate>Access</span>