salix/front/core/components/data-viewer/index.html

31 lines
645 B
HTML

<div ng-if="$ctrl.isReady">
<div ng-transclude></div>
<vn-pagination
model="$ctrl.model"
class="vn-pt-md">
</vn-pagination>
</div>
<div
class="empty-rows"
ng-if="!$ctrl.isReady"
ng-switch="$ctrl.status">
<vn-spinner
ng-switch-when="loading"
enable="::true">
</vn-spinner>
<span
ng-switch-when="clear"
translate>
Enter a new search
</span>
<span
ng-switch-when="error"
translate>
Ups! It seems there was an error
</span>
<span
ng-switch-when="empty"
translate>
No results
</span>
</div>