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.

27 lines
895 B

  1. <ion-view view-title="Event">
  2. <ion-content>
  3. <a class="item item-avatar" ng-href="#/app/users/{{event.user._id}}">
  4. <img ng-src="{{event.user.img}}">
  5. <h2>{{event.user.username}}</h2>
  6. <p>{{event.user.shortDescription}}</p>
  7. </a>
  8. <div class="item item-image" ng-show="event.img">
  9. <img ng-src="{{event.img}}">
  10. </div>
  11. <div class="item">
  12. <h2>{{event.title}}</h2>
  13. <p>{{event.description}}</p>
  14. <p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
  15. </div>
  16. <div class="item" ng-show="markers[0]">
  17. <h2>Map</h2>
  18. </div>
  19. <leaflet ng-show="markers[0]"
  20. width="100%" height="40%" markers="markers" center="center" tiles="tiles" id="map-simple-map"></leaflet>
  21. <a class="item item-icon-left ctext_indigo500" ng-click="share(event)">
  22. <i class="icon ion-android-share-alt"></i> Share
  23. </a>
  24. </ion-content>
  25. </ion-view>