Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

77 строки
3.0 KiB

  1. <div class="card">
  2. <div class="card-body row">
  3. <div class="col-8">
  4. <h1>{{ contact.firstName }} {{ contact.lastName }}</h1>
  5. <dl>
  6. <dt>Position:</dt>
  7. <dd>{{ contact.position }}</dd>
  8. <dt>Telefon:</dt>
  9. <dd>{{ contact.phone }}</dd>
  10. <dt>E-Mail:</dt>
  11. <dd><a href="mailto:{{contact.email}}">{{ contact.email }}</a></dd>
  12. <dt>Geburtstag:</dt>
  13. <dd>{{ contact.birthday | date:'dd.MM.YYYY' }}</dd>
  14. </dl>
  15. </div>
  16. <div class="col-4">
  17. <img *ngIf="contact.imageUrl !== null" src="{{environment.basePath}}{{contact.imageUrl}}" width="247"
  18. height="94"
  19. alt="{{contact.firstName}} {{contact.lastName}}" title="{{contact.firstName}} {{contact.lastName}}"/>
  20. </div>
  21. </div>
  22. </div>
  23. <div class="posts">
  24. <div class="d-flex justify-content-between align-items-start">
  25. <h2>Notizen</h2>
  26. <button (click)="openModalNewPosting()">Neue Notiz</button>
  27. </div>
  28. <div *ngFor="let post of posts">
  29. <div class="post mb-3">
  30. <div class="card">
  31. <div class="card-body">
  32. <div class="d-flex justify-content-between align-items-center">
  33. <p>{{ post.createdAt | date:'dd.MM.YYYY hh:mm' }}</p>
  34. <p>{{ post.ownerName }}</p>
  35. </div>
  36. <div>
  37. <h3>{{ post.headline }}</h3>
  38. <p>{{ post.message }}</p>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="card ms-5">
  43. <div class="card-body">
  44. <div class="d-flex justify-content-between align-items-center">
  45. <p>04.10.2023</p>
  46. <p>Jan Hansen</p>
  47. </div>
  48. <div>
  49. <p>Leider geht er mobil selten dran. Eher E-Mails schicken!</p>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="card ms-5">
  54. <div class="card-body">
  55. <div class="d-flex justify-content-between align-items-center">
  56. <p>02.10.2023</p>
  57. <p>Florian Eisenmenger</p>
  58. </div>
  59. <div>
  60. <p>Ich habe mit FAX die besten Erfahrungen gemacht...</p>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="d-flex justify-content-end">
  65. <a routerLink="#" class="badge bg-secondary">Kommentieren</a>
  66. </div>
  67. </div>
  68. </div>
  69. <mat-paginator *ngIf="posts.length > 0" class="mb-4" [length]="postsLength"
  70. (page)="postsHandlePageEvent($event)"
  71. [pageSize]="postsPageSize"
  72. [pageIndex]="postsPageIndex"
  73. showFirstLastButtons>
  74. </mat-paginator>
  75. </div>