mirror of
https://github.com/arnaucube/openEventsPlatformApp.git
synced 2026-02-07 11:46:39 +01:00
alert system implemented
This commit is contained in:
@@ -2,19 +2,24 @@
|
||||
<ion-content class="c_blueGrey100">
|
||||
<ion-refresher pulling-text="{{'Pull_to_refresh' | translate}}..." on-refresh="doRefresh()">
|
||||
</ion-refresher>
|
||||
<a href="#/app/alerts" class="item item-icon-left c_red400"
|
||||
ng-show="alerts">
|
||||
<i class="icon ion-android-alert"></i> <b>{{alerts.length}}</b> Emergency alerts!
|
||||
</a>
|
||||
<div class="card" ng-repeat="event in events">
|
||||
<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>
|
||||
<a ng-href="#/app/events/{{event._id}}" class="item item-image">
|
||||
<img ng-src="{{event.img}}">
|
||||
<div style="text-align: left; padding: 20px;">
|
||||
<h2>{{event.title}}</h2>
|
||||
<p>{{event.description}}</p>
|
||||
<p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
|
||||
</div>
|
||||
<a ng-href="#/app/events/{{event._id}}" class="item item-image"
|
||||
ng-show="event.img">
|
||||
<img ng-src="{{event.img}}">
|
||||
</a>
|
||||
<a ng-href="#/app/events/{{event._id}}" class="item item-text-wrap">
|
||||
<h2>{{event.title}}</h2>
|
||||
<p>{{event.description}}</p>
|
||||
<p>{{event.date | date: 'HH:mm, dd/MM/yyyy'}}</p>
|
||||
</a>
|
||||
<div class="item tabs tabs-icon-only">
|
||||
<a class="tab-item" ng-click="share(event)">
|
||||
|
||||
Reference in New Issue
Block a user