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.

32 lines
1.0 KiB

8 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">
  17. {{user.username}}
  18. <i ng-show="user.validated" class="ion-checkmark-circled ct_blue300"></i>
  19. </h2>
  20. <p>
  21. {{user.description}}
  22. </p>
  23. </a>
  24. </div>
  25. <ion-infinite-scroll
  26. ng-if="loadMorePagination"
  27. on-infinite="paginationNext()"
  28. distance="1%">
  29. </ion-infinite-scroll>
  30. </ion-content>
  31. </ion-view>