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.

43 lines
1.6 KiB

  1. <ion-view view-title="category: {{category}}">
  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. ng-show="event.img">
  13. <img ng-src="{{event.img}}">
  14. </a>
  15. <a ng-href="#/app/events/{{event._id}}" class="item item-text-wrap">
  16. <div class="item-note">{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</div>
  17. <h2>{{event.title}}</h2>
  18. <p>{{event.description}}</p>
  19. <p>
  20. <span class="o_badge c_blueGrey300" ng-repeat="category in event.categories">
  21. {{category.name}}
  22. </span>
  23. </p>
  24. </a>
  25. <div class="item tabs tabs-icon-only">
  26. <a class="tab-item" ng-click="share(event)">
  27. <i class="icon ion-android-share-alt"></i>
  28. </a>
  29. <a class="tab-item">
  30. </a>
  31. <a class="tab-item" ng-click="unsaveEvent(event)"
  32. ng-show="isEventSaved(event)">
  33. <i class="icon ion-heart ctext_red600"></i>
  34. </a>
  35. <a class="tab-item" ng-click="saveEvent(event)"
  36. ng-hide="isEventSaved(event)">
  37. <i class="icon ion-heart"></i>
  38. </a>
  39. </div>
  40. </div>
  41. </ion-content>
  42. </ion-view>