Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

53 рядки
2.8 KiB

  1. <div *ngIf="contact" class="spt-container">
  2. <div class="card contacts-detail">
  3. <div class="card-body row">
  4. <div class="spt-col col-12 col-sm-6 col-lg-8">
  5. <div class="row">
  6. <div class="col-12 col-lg-6">
  7. <h1>{{ contact.firstName }} {{ contact.lastName }}</h1>
  8. <dl>
  9. <dt *ngIf="contact.position">{{ 'form.position' | translate }}:</dt>
  10. <dd *ngIf="contact.position">{{ contact.position }}</dd>
  11. <dt *ngIf="contact.phone">{{ 'form.phone' | translate }}:</dt>
  12. <dd *ngIf="contact.phone">{{ contact.phone }}</dd>
  13. <dt *ngIf="contact.email">{{ 'form.email' | translate }}:</dt>
  14. <dd *ngIf="contact.email"><a href="mailto:{{contact.email}}">{{ contact.email }}</a></dd>
  15. <dt *ngIf="contact.birthday">{{ 'form.birthday' | translate }}:</dt>
  16. <dd *ngIf="contact.birthday">{{ contact.birthday | date:'dd.MM.YYYY' }}</dd>
  17. </dl>
  18. </div>
  19. <div class="col-12 col-lg-6">
  20. <ul *ngFor="let contactPartnerProduct of contactPartnerProducts">
  21. <li>
  22. <a href="{{ appHelperService.getResourceLink(contactPartnerProduct.product) }}">{{ contactPartnerProduct.product?.name }}</a>
  23. </li>
  24. </ul>
  25. </div>
  26. </div>
  27. </div>
  28. <div class="col-12 col-sm-6 col-lg-4 has-image">
  29. <img *ngIf="contact.imageUrl !== null && contact.imageUrl !== undefined" src="{{contact.imageUrl}}"
  30. width="247" height="94"
  31. alt="{{contact.firstName}} {{contact.lastName}}"
  32. title="{{contact.firstName}} {{contact.lastName}}"/>
  33. <img *ngIf="contact.imageUrl === null || contact.imageUrl === undefined"
  34. src="/assets/images/icons/dummy-person.png" width="247" height="94" alt=""/>
  35. </div>
  36. <span class="position-absolute bi bi-pencil p-2" data-type="user-tool" data-action="edit"
  37. (click)="openModalEditContact()">
  38. </span>
  39. </div>
  40. </div>
  41. </div>
  42. <app-toggle #togglePosts [headline]="'basic.posts' | translate">
  43. <app-post-list *ngIf="togglePosts.isOpened" #postListComponent
  44. [partner]="partner"
  45. [contact]="contact"
  46. ></app-post-list>
  47. </app-toggle>
  48. <app-toggle #toggleProducts [headline]="'basic.products' | translate">
  49. <app-product-list *ngIf="toggleProducts.isOpened" #productListComponent
  50. [contact]="contact">
  51. </app-product-list>
  52. </app-toggle>