feat(home): display each endpoint URL (#2471)

pull/2476/head
baron_l 2018-11-19 07:07:38 +01:00 committed by Anthony Lapenna
parent 488dc5f9db
commit fe8dfee69a
3 changed files with 5 additions and 1 deletions

View File

@ -82,6 +82,9 @@
</span>
</span>
</span>
<span class="small text-muted">
{{ $ctrl.model.URL | stripprotocol }}
</span>
</div>
</span>

View File

@ -44,6 +44,7 @@ angular.module('portainer.app').controller('EndpointListController', [
return (
_.includes(endpoint.Name.toLowerCase(), lowerCaseKeyword) ||
_.includes(endpoint.GroupName.toLowerCase(), lowerCaseKeyword) ||
_.includes(endpoint.URL.toLowerCase(), lowerCaseKeyword) ||
_.some(endpoint.Tags, function(tag) {
return _.includes(tag.toLowerCase(), lowerCaseKeyword);
}) ||

View File

@ -21,7 +21,7 @@
class="searchInput"
ng-model="$ctrl.state.textFilter"
ng-change="$ctrl.onFilterChanged()"
placeholder="Search by name, group, tag, status..." auto-focus>
placeholder="Search by name, group, tag, status, URL..." auto-focus>
</div>
<div class="blocklist">