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.

49 lines
1.9 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. <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. <div class="item-note">{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</div>
  21. <h2>{{event.title}}</h2>
  22. <p>{{event.description}}</p>
  23. <p>
  24. <span class="o_badge c_blueGrey300" ng-repeat="category in event.categories">
  25. {{category.name}}
  26. </span>
  27. </p>
  28. </a>
  29. <div class="item tabs tabs-icon-only">
  30. <a class="tab-item" ng-click="share(event)">
  31. <i class="icon ion-android-share-alt"></i>
  32. </a>
  33. <a class="tab-item">
  34. </a>
  35. <a class="tab-item" ng-click="unsaveEvent(event)"
  36. ng-show="isEventSaved(event)">
  37. <i class="icon ion-heart ctext_red600"></i>
  38. </a>
  39. <a class="tab-item" ng-click="saveEvent(event)"
  40. ng-hide="isEventSaved(event)">
  41. <i class="icon ion-heart"></i>
  42. </a>
  43. </div>
  44. </div>-->
  45. <div ng-hide="followingUsers[0]">No following users, select users to follow to see the events</div>
  46. <div ng-include="'templates/templateEvents.html'"></div>
  47. </ion-content>
  48. </ion-view>