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.

31 lines
1.0 KiB

  1. <ion-view view-title="Users">
  2. <ion-content>
  3. <ion-refresher
  4. pulling-text="{{'Pull_to_refresh' | translate}}..."
  5. on-refresh="doRefresh()">
  6. </ion-refresher>
  7. <ion-list><!-- item-remove-animate -->
  8. <div ng-repeat="user in users">
  9. <div class="item-note">
  10. <div class="button button-small button-assertive"
  11. ng-show="isUserFollowed(user)"
  12. ng-click="unfollowUser(user)">
  13. Unfollow
  14. </div>
  15. <div class="button button-small button-balanced"
  16. ng-hide="isUserFollowed(user)"
  17. ng-click="followUser(user)">
  18. Follow
  19. </div>
  20. </div>
  21. <ion-item class="item-avatar"
  22. type="item-text-wrap" href="#/app/users/{{user._id}}">
  23. <img ng-src="{{user.img}}">
  24. <h2>{{user.username}}</h2>
  25. <p>{{user.shortDescription}}</p>
  26. </ion-item>
  27. </div>
  28. </ion-list>
  29. </ion-content>
  30. </ion-view>