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.

38 lines
1.4 KiB

  1. <ion-view view-title="{{'User' | translate}} {{user.username}}">
  2. <ion-content>
  3. <div class="item item-avatar">
  4. <img ng-src="img/avatars/{{user.avatar}}.png" />
  5. <h2>{{user.username}}</h2>
  6. </div>
  7. <div class="item item-body">
  8. <p class="o-bold">{{user.description}}</p>
  9. <p>{{user.mail}}</p>
  10. <p>
  11. <img class='o-imgMenu' src="img/telegram.png" /> {{user.telegram}}
  12. </p>
  13. </div>
  14. <div class="item item-body">
  15. {{'history_of' | translate}} {{user.username}}:
  16. <div class="positive">{{travels.length}} {{'publications' | translate}}</div>
  17. <a ng-repeat="travel in travels | orderBy: 'date'" class="item item-avatar" href="#/app/travels/{{travel._id}}">
  18. <img ng-src="img/{{travel.modality}}.png">
  19. <h2>{{travel.title}}
  20. <div class="item-note">
  21. <div class="positive">{{travel.date | date:"dd/MM HH:mm a"}}</div>
  22. </div>
  23. </h2>
  24. <div class="item-note">
  25. <p class="" ng-show="travel.modality=='offering'">{{'n_Seats' | translate}}: {{travel.seats}}</p>
  26. <p class="" ng-show="travel.modality=='asking'">{{'n_People' | translate}}: {{travel.seats}}</p>
  27. </div>
  28. <p>
  29. {{travel.description}}
  30. </p>
  31. </a>
  32. </div>
  33. </ion-content>
  34. </ion-view>