hawtio/hawtio — pull request #1505 by paoloantinori (2014-08-26 08:05:20+00:00)
Title: Modified base template to allow a set of dynamic link in top right corne...

...r.

Plugins can populate that are.

Plugins can populate with code:

```
NavBarViewCustomLinks['1'] = {
icon: 'icon-warning-sign',
buttonClass: 'btn-primary',
title: 'Open New Case',
action: function() {
var destination = '/rhaccess_plugin?p=container';
var iframe = RHAccess.remoteAppEntryPoint + "#case/new";
Logger.debug("going to: " + destination + ':' + iframe);
RHAccessSharedProperties.iframeUrl = iframe ;
$location.url(destination);
}
};
```

after they define inject in their module scope a reference to NavBarViewCustomLinks
```
module.run(function(workspace, viewRegistry, layoutFull, NavBarViewCustomLinks, $location, RHAccessSharedProperties) {
...
```
![screenshot from 2014-08-26 09 59 30](https://cloud.githubusercontent.com/assets/1520602/4041541/70612900-2cf7-11e4-8771-d214554db410.png)

fix #1470