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.

37 lines
1.3 KiB

  1. <ion-view view-title="Events">
  2. <ion-content class="c_blueGrey100">
  3. <ion-refresher pulling-text="{{'Pull_to_refresh' | translate}}..." on-refresh="doRefresh()">
  4. </ion-refresher>
  5. <div class="card" ng-repeat="event in events">
  6. <a class="item item-avatar" ng-href="#/app/users/{{event.user._id}}">
  7. <img ng-src="{{event.user.img}}">
  8. <h2>{{event.user.username}}</h2>
  9. <p>{{event.user.shortDescription}}</p>
  10. </a>
  11. <a ng-href="#/app/events/{{event._id}}" class="item item-image">
  12. <img ng-src="{{event.img}}">
  13. <div style="text-align: left; padding: 20px;">
  14. <h2>{{event.title}}</h2>
  15. <p>{{event.description}}</p>
  16. <p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
  17. </div>
  18. </a>
  19. <div class="item tabs tabs-icon-only">
  20. <a class="tab-item" ng-click="share(event)">
  21. <i class="icon ion-android-share-alt"></i>
  22. </a>
  23. <a class="tab-item">
  24. </a>
  25. <a class="tab-item" ng-click="unsaveEvent(event)"
  26. ng-show="isEventSaved(event)">
  27. <i class="icon ion-heart ctext_red600"></i>
  28. </a>
  29. <a class="tab-item" ng-click="saveEvent(event)"
  30. ng-hide="isEventSaved(event)">
  31. <i class="icon ion-heart"></i>
  32. </a>
  33. </div>
  34. </div>
  35. </ion-content>
  36. </ion-view>