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.

41 lines
1.5 KiB

7 years ago
7 years ago
7 years ago
7 years ago
  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" ng-show="storageuser._id==event.user._id">
  9. <p class="text-right">
  10. <!--<a ng-click="" class="button button-small button-royal">
  11. <i class="icon ion-edit"></i>
  12. </a>-->
  13. <a ng-click="deleteEvent()" class="button button-small c_red500">
  14. <i class="icon ion-trash-a"></i>
  15. </a>
  16. </p>
  17. </div>
  18. <div class="item item-image" ng-show="event.img">
  19. <img ng-src="{{event.img}}">
  20. </div>
  21. <div class="item">
  22. <div class="item-note">{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</div>
  23. <h2>{{event.title}}</h2>
  24. <p>{{event.description}}</p>
  25. <p>
  26. <span class="o_badge c_blueGrey300" ng-repeat="category in event.categories">
  27. {{category.name}}
  28. </span>
  29. </p>
  30. </div>
  31. <div class="item" ng-show="markers[0]">
  32. <h2>Place: {{event.location.direction}}</h2>
  33. </div>
  34. <leaflet ng-show="markers[0]" width="100%" height="40%" markers="markers" center="center" tiles="tiles" id="map-simple-map"></leaflet>
  35. <a class="item item-icon-left ctext_indigo500" ng-click="share(event)">
  36. <i class="icon ion-android-share-alt"></i> Share
  37. </a>
  38. </ion-content>
  39. </ion-view>