You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
912 B

7 years ago
  1. <ion-view view-title="{{'Users' | translate}}">
  2. <ion-content>
  3. <ion-refresher
  4. pulling-text="{{'Pull_to_refresh' | translate}}..."
  5. on-refresh="doRefresh()">
  6. </ion-refresher>
  7. <div class="list">
  8. <div class="card" ng-show="!users">
  9. <div class="item item-text-wrap">
  10. {{'No_data_in_memory' | translate}}<br>
  11. {{'Pull_from_top_to_refresh' | translate}}
  12. </div>
  13. </div>
  14. <a ng-repeat="user in users | orderBy: 'date'" class="item item-avatar" ng-href="#/app/users/{{user._id}}">
  15. <img ng-src="{{user.avatar}}">
  16. <h2 class="o_text_purple600">{{user.username}}</h2>
  17. <p>
  18. {{user.description}}
  19. </p>
  20. </a>
  21. </div>
  22. <ion-infinite-scroll
  23. ng-if="loadMorePagination"
  24. on-infinite="paginationNext()"
  25. distance="1%">
  26. </ion-infinite-scroll>
  27. </ion-content>
  28. </ion-view>