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.

34 lines
1.2 KiB

  1. <ion-view view-title="Emergency alerts">
  2. <ion-content class="c_red200">
  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-text-wrap">
  12. <h2>{{event.title}}</h2>
  13. <p>{{event.description}}</p>
  14. <p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
  15. </a>
  16. <div class="item tabs tabs-icon-only">
  17. <a class="tab-item" ng-click="share(event)">
  18. <i class="icon ion-android-share-alt"></i>
  19. </a>
  20. <a class="tab-item">
  21. </a>
  22. <a class="tab-item" ng-click="unsaveEvent(event)"
  23. ng-show="isEventSaved(event)">
  24. <i class="icon ion-heart ctext_red600"></i>
  25. </a>
  26. <a class="tab-item" ng-click="saveEvent(event)"
  27. ng-hide="isEventSaved(event)">
  28. <i class="icon ion-heart"></i>
  29. </a>
  30. </div>
  31. </div>
  32. </ion-content>
  33. </ion-view>