summaryrefslogtreecommitdiffstats
path: root/templates/contactList.html
blob: f5f7da06a775be7caad1e729bfacf6bc285dbcd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div class="contacts-list" ng-class="{loading: ctrl.loading, 'mobile-show': ctrl.show}">
        <div class="app-content-list-item"
			 ng-repeat="contact in ctrl.filteredContacts = (ctrl.contactList | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy:ctrl.sortBy | filter:query | limitTo:ctrl.limitTo ) as filtered track by contact.uid()"
			 contact data="contact"
			 ng-click="setSelected(contact.uid())"
			 ng-class="{active: contact.uid() === ctrl.getSelectedId()}">
	</div>
	<div ng-show="!ctrl.filteredContacts.length && !ctrl.loading && ctrl.searchTerm !== ''">
	        <div id="emptycontent" class="emptycontent-search">
		        <div class="icon-search"></div>
			<h2>{{ctrl.t.emptySearch}}</h2>
		</div>
	</div>
</div>