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

<ion-view view-title="Event">
<ion-content>
<a class="item item-avatar" ng-href="#/app/users/{{event.user._id}}">
<img ng-src="{{event.user.img}}">
<h2>{{event.user.username}}</h2>
<p>{{event.user.shortDescription}}</p>
</a>
<div class="item" ng-show="storageuser._id==event.user._id">
<p class="text-right">
<!--<a ng-click="" class="button button-small button-royal">
<i class="icon ion-edit"></i>
</a>-->
<a ng-click="deleteEvent()" class="button button-small c_red500">
<i class="icon ion-trash-a"></i>
</a>
</p>
</div>
<div class="item item-image" ng-show="event.img">
<img ng-src="{{event.img}}">
</div>
<div class="item">
<div class="item-note">{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</div>
<h2>{{event.title}}</h2>
<p>{{event.description}}</p>
<p>
<span class="o_badge c_blueGrey300" ng-repeat="category in event.categories">
{{category.name}}
</span>
</p>
</div>
<div class="item" ng-show="markers[0]">
<h2>Place: {{event.location.direction}}</h2>
</div>
<leaflet ng-show="markers[0]" width="100%" height="40%" markers="markers" center="center" tiles="tiles" id="map-simple-map"></leaflet>
<a class="item item-icon-left ctext_indigo500" ng-click="share(event)">
<i class="icon ion-android-share-alt"></i> Share
</a>
</ion-content>
</ion-view>