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.

35 lines
1.2 KiB

  1. <ion-view view-title="Events">
  2. <ion-content>
  3. <ion-refresher pulling-text="{{'Pull_to_refresh' | translate}}..." on-refresh="doRefresh()">
  4. </ion-refresher>
  5. <!--<a class="item item-thumbnail-left" href="#/app/events/{{event._id}}"
  6. ng-repeat="event in events">
  7. <img ng-src="{{event.img}}">
  8. <div class="badge item-note">{{event.user.username}}</div>
  9. <h2>{{event.title}}</h2>
  10. <p>{{event.description}}</p>
  11. <p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
  12. </a>-->
  13. <div ng-repeat="event in events">
  14. <a class="item item-avatar" ng-href="#/app/users/{{event.user._id}}">
  15. <img ng-src="{{event.user.img}}">
  16. <h2>{{event.user.username}}</h2>
  17. <p>{{event.user.shortDescription}}</p>
  18. </a>
  19. <a ng-href="#/app/events/{{event._id}}" class="item item-image">
  20. <img ng-src="{{event.img}}">
  21. <h2>{{event.title}}</h2>
  22. <p>{{event.description}}</p>
  23. <p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
  24. <a class="item item-icon-left ct_indigo500" ng-click="share()">
  25. <i class="icon ion-android-share-alt"></i> Share
  26. </a>
  27. <div class="item"></div>
  28. </a>
  29. </div>
  30. </ion-content>
  31. </ion-view>