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