summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlexander Weidinger <alexwegoo@gmail.com>2016-03-17 02:09:33 +0100
committerHendrik Leppelsack <hendrik@leppelsack.de>2016-03-17 15:03:26 +0100
commit54a7de52c12899886d0628bf9ce9c16f406c9f06 (patch)
treec7c4afc1992b34fe6039da700065628c1b545ebf /templates
parent4f58b84938bd1182e071aa77dc899bbc047a877c (diff)
Fix no search result message.
Diffstat (limited to 'templates')
-rw-r--r--templates/contactList.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/contactList.html b/templates/contactList.html
index 9a2a2933..ab03c7e9 100644
--- a/templates/contactList.html
+++ b/templates/contactList.html
@@ -1,12 +1,12 @@
<button class="app-content-list-button" type="button" name="button" ng-click="ctrl.createContact()">{{ctrl.t.addContact}}</button>
-<div ng-if="ctrl.contactList===[]">
- <div id="emptysearch" class="">
- <div class="icon-search"></div>
- <h2>{{ctrl.t.emptySearch}}</h2>
- </div>
-</div>
<div class="app-content-list-item"
ng-repeat="contact in ctrl.contactList = (ctrl.contacts | contactGroupFilter:ctrl.routeParams.gid | orderBy:'fullName()' | filter:query) track by contact.uid()"
contact data="contact"
ng-click="setSelected(contact.uid())" ng-class="{active: contact.uid() === ctrl.selectedContactId}">
</div>
+<div ng-show="!ctrl.contactList.length">
+ <div id="emptysearch" class="">
+ <div class="icon-search"></div>
+ <h2>{{ctrl.t.emptySearch}} {{ctrl.searchTerm}}</h2>
+ </div>
+</div>