2019-10-03 17:34:24 +00:00
|
|
|
<div ng-if="$ctrl.isReady">
|
2019-10-02 17:24:42 +00:00
|
|
|
<div ng-transclude></div>
|
|
|
|
<vn-pagination
|
2020-03-09 08:00:03 +00:00
|
|
|
ng-if="$ctrl.model"
|
2019-10-03 17:34:24 +00:00
|
|
|
model="$ctrl.model"
|
2019-10-04 22:16:57 +00:00
|
|
|
class="vn-pt-md">
|
2019-10-02 17:24:42 +00:00
|
|
|
</vn-pagination>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="empty-rows"
|
2019-10-03 17:34:24 +00:00
|
|
|
ng-if="!$ctrl.isReady"
|
2019-10-02 17:24:42 +00:00
|
|
|
ng-switch="$ctrl.status">
|
|
|
|
<vn-spinner
|
|
|
|
ng-switch-when="loading"
|
2019-10-03 17:34:24 +00:00
|
|
|
enable="::true">
|
2019-10-02 17:24:42 +00:00
|
|
|
</vn-spinner>
|
|
|
|
<span
|
|
|
|
ng-switch-when="clear"
|
|
|
|
translate>
|
|
|
|
Enter a new search
|
|
|
|
</span>
|
2019-10-03 17:34:24 +00:00
|
|
|
<span
|
|
|
|
ng-switch-when="error"
|
|
|
|
translate>
|
|
|
|
Ups! It seems there was an error
|
|
|
|
</span>
|
2019-10-02 17:24:42 +00:00
|
|
|
<span
|
|
|
|
ng-switch-when="empty"
|
|
|
|
translate>
|
|
|
|
No results
|
|
|
|
</span>
|
|
|
|
</div>
|