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.
 
 
 

32 lines
1.3 KiB

<div class="card">
<div class="card-body" style="color:#ffffff; background-image: url('img/userProfileBackground.png');">
<div class="pull-right">{{travel.date | date}}</div>
<h4 class="card-title">
<i ng-show="travel.type=='offering'" title="offering" class="fa fa-car fa-2x"></i>
<i ng-show="travel.type=='asking'" title="asking" class="fa fa-question fa-2x"></i>
<i ng-show="travel.type=='package'" title="package" class="fa fa-archive fa-2x"></i>
<i style="margin-right: 20px;"></i>
<b>{{travel.title}}</b>
</h4>
</div>
<div class="card-body">
<div class="pull-right">
<a ng-href="#!/user/{{travel.user._id}}" class="btn" style="text-transform:none;" ng-show="travel.user">
<img class="circle" style="max-width: 30px; max-height:30px;" ng-src="{{travel.user.avatar}}" />
{{travel.user.username}}
</a>
</div>
<p>
From: <b>{{travel.from.name}}</b>
</p>
<p>
To: <b>{{travel.to.name}}</b>
</p>
<p>
Seats: {{travel.joins.length}}/{{travel.seats}}
</p>
<p ng-show="travel.package">
Can transport package
</p>
</div>
</div>