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.

42 lines
1.6 KiB

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