Merge branch 'master' of github.com:elastic/kibana into migrate/timelion

This commit is contained in:
Rashid Khan 2016-08-15 09:04:04 -07:00
commit 599a9f4314
2 changed files with 4 additions and 2 deletions

View file

@ -18,7 +18,9 @@ module.directive('savedObjectFinder', function ($location, $injector, kbnUrl, Pr
// optional make-url attr, sets the userMakeUrl in our scope
userMakeUrl: '=?makeUrl',
// optional on-choose attr, sets the userOnChoose in our scope
userOnChoose: '=?onChoose'
userOnChoose: '=?onChoose',
// optional useLocalManagement attr, removes link to management section
useLocalManagement: '=?useLocalManagement'
},
template: savedObjectFinderTemplate,
controllerAs: 'finder',

View file

@ -18,7 +18,7 @@
<div class="finder-hit-count col-md-2">
<span>{{finder.hitCount}} of {{finder.hitCount}}</span>
</div>
<div class="finder-manage-object col-md-2">
<div class="finder-manage-object col-md-2" ng-if="!useLocalManagement">
<a class="small" ng-click="finder.manageObjects(finder.properties.name)">
Manage {{finder.properties.nouns}}
</a>