GUAC-1126: Add client-specific disconnect action to menu. Style with danger.

This commit is contained in:
Michael Jumper
2015-04-07 22:49:41 -07:00
parent 69374f0818
commit e460fde6ed
9 changed files with 50 additions and 34 deletions

View File

@@ -30,6 +30,16 @@ angular.module('navigation').directive('guacUserMenu', [function guacUserMenu()
restrict: 'E',
replace: true,
scope: {
/**
* Optional array of actions which are specific to this particular
* location, as these actions may not be appropriate for other
* locations which contain the user menu.
*
* @type MenuAction[]
*/
localActions : '='
},
templateUrl: 'app/navigation/templates/guacUserMenu.html',