mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUAC-1126: Move menu actions into own class. Make rendering of menu actions generic.
This commit is contained in:
@@ -36,18 +36,10 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Change password -->
|
||||
<li>
|
||||
<a class="change-password" ng-click="showPasswordUpdate()"
|
||||
ng-show="canChangePassword">
|
||||
{{'USER_MENU.ACTION_CHANGE_PASSWORD' | translate}}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Logout -->
|
||||
<li>
|
||||
<a class="logout" ng-click="logout()">
|
||||
{{'USER_MENU.ACTION_LOGOUT' | translate}}
|
||||
<!-- Actions -->
|
||||
<li ng-repeat="action in actions">
|
||||
<a ng-class="action.className" ng-click="action.callback()">
|
||||
{{action.name | translate}}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
Reference in New Issue
Block a user