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.2 KiB

  1. <div class="card">
  2. <div class="card-body" style="color:#ffffff; background-image: url('img/userProfileBackground.png');">
  3. <div class="pull-right">{{travel.date | date}}</div>
  4. <h4 class="card-title">
  5. <i ng-show="travel.type=='offering'" title="offering" class="fa fa-car fa-2x"></i>
  6. <i ng-show="travel.type=='asking'" title="asking" class="fa fa-question fa-2x"></i>
  7. <i ng-show="travel.type=='package'" title="package" class="fa fa-archive fa-2x"></i>
  8. <i style="margin-right: 20px;"></i>
  9. <b>{{travel.title}}</b>
  10. </h4>
  11. </div>
  12. <div class="card-body">
  13. <div class="pull-right">
  14. <a ng-href="#!/user/{{travel.user._id}}">
  15. <img class="circle" style="max-width: 30px; max-height:30px;" ng-src="{{travel.user.avatar}}" />
  16. {{travel.user.username}}
  17. </a>
  18. </div>
  19. <p>
  20. From: <b>{{travel.from.name}}</b>
  21. </p>
  22. <p>
  23. To: <b>{{travel.to.name}}</b>
  24. </p>
  25. <p>
  26. Seats: {{travel.joins.length}}/{{travel.seats}}
  27. </p>
  28. <p ng-show="travel.package">
  29. Can transport package
  30. </p>
  31. </div>
  32. </div>