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.

37 lines
1.2 KiB

  1. <div class="card" ng-repeat="event in events">
  2. <a class="item item-avatar" ng-href="#/app/users/{{event.user._id}}">
  3. <img ng-src="{{event.user.img}}">
  4. <h2>{{event.user.username}}</h2>
  5. <p>{{event.user.shortDescription}}</p>
  6. </a>
  7. <a ng-href="#/app/events/{{event._id}}" class="item item-image"
  8. ng-show="event.img">
  9. <img ng-src="{{event.img}}">
  10. </a>
  11. <a ng-href="#/app/events/{{event._id}}" class="item item-text-wrap">
  12. <div class="item-note">{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</div>
  13. <h2>{{event.title}}</h2>
  14. <p>{{event.description}}</p>
  15. <p>
  16. <span class="o_badge c_blueGrey300" ng-repeat="category in event.categories">
  17. {{category.name}}
  18. </span>
  19. </p>
  20. </a>
  21. <div class="item tabs tabs-icon-only">
  22. <a class="tab-item" ng-click="share(event)">
  23. <i class="icon ion-android-share-alt"></i>
  24. </a>
  25. <a class="tab-item">
  26. </a>
  27. <a class="tab-item" ng-click="unsaveEvent(event)"
  28. ng-show="isEventSaved(event)">
  29. <i class="icon ion-heart ctext_red600"></i>
  30. </a>
  31. <a class="tab-item" ng-click="saveEvent(event)"
  32. ng-hide="isEventSaved(event)">
  33. <i class="icon ion-heart"></i>
  34. </a>
  35. </div>
  36. </div>