|
|
@@ -3,22 +3,23 @@ |
|
|
<div class="col-8"> |
|
|
<div class="col-8"> |
|
|
<h1>{{ contact.firstName }} {{ contact.lastName }}</h1> |
|
|
<h1>{{ contact.firstName }} {{ contact.lastName }}</h1> |
|
|
<dl> |
|
|
<dl> |
|
|
<dt>Position:</dt> |
|
|
|
|
|
<dd>{{ contact.position }}</dd> |
|
|
|
|
|
<dt>Telefon:</dt> |
|
|
|
|
|
<dd>{{ contact.phone }}</dd> |
|
|
|
|
|
<dt>E-Mail:</dt> |
|
|
|
|
|
<dd><a href="mailto:{{contact.email}}">{{ contact.email }}</a></dd> |
|
|
|
|
|
<dt>Geburtstag:</dt> |
|
|
|
|
|
<dd>{{ contact.birthday | date:'dd.MM.YYYY' }}</dd> |
|
|
|
|
|
|
|
|
<dt *ngIf="contact.position">Position:</dt> |
|
|
|
|
|
<dd *ngIf="contact.position">{{ contact.position }}</dd> |
|
|
|
|
|
<dt *ngIf="contact.phone">Telefon:</dt> |
|
|
|
|
|
<dd *ngIf="contact.phone">{{ contact.phone }}</dd> |
|
|
|
|
|
<dt *ngIf="contact.email">E-Mail:</dt> |
|
|
|
|
|
<dd *ngIf="contact.email"><a href="mailto:{{contact.email}}">{{ contact.email }}</a></dd> |
|
|
|
|
|
<dt *ngIf="contact.birthday">Geburtstag:</dt> |
|
|
|
|
|
<dd *ngIf="contact.birthday">{{ contact.birthday | date:'dd.MM.YYYY' }}</dd> |
|
|
</dl> |
|
|
</dl> |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-4"> |
|
|
<div class="col-4"> |
|
|
<img *ngIf="contact.imageUrl !== null" src="{{contact.imageUrl}}" width="247" |
|
|
|
|
|
|
|
|
<img *ngIf="contact.imageUrl !== null && contact.imageUrl !== undefined" ngSrc="{{contact.imageUrl}}" width="247" |
|
|
height="94" |
|
|
height="94" |
|
|
alt="{{contact.firstName}} {{contact.lastName}}" title="{{contact.firstName}} {{contact.lastName}}"/> |
|
|
alt="{{contact.firstName}} {{contact.lastName}}" title="{{contact.firstName}} {{contact.lastName}}"/> |
|
|
</div> |
|
|
</div> |
|
|
<span class="position-absolute bi bi-pencil" data-type="user-tool" data-action="edit" (click)="openModalEditContact()"></span> |
|
|
|
|
|
|
|
|
<span class="position-absolute bi bi-pencil" data-type="user-tool" data-action="edit" |
|
|
|
|
|
(click)="openModalEditContact()"></span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
@@ -38,7 +39,8 @@ |
|
|
<h3>{{ post.headline }}</h3> |
|
|
<h3>{{ post.headline }}</h3> |
|
|
<p>{{ post.message }}</p> |
|
|
<p>{{ post.message }}</p> |
|
|
</div> |
|
|
</div> |
|
|
<span *ngIf="post.owner === user?.id" class="position-absolute bi bi-pencil" data-type="user-tool" data-action="edit" (click)="openModalEditPosting(post)"></span> |
|
|
|
|
|
|
|
|
<span *ngIf="post.owner === user?.id" class="position-absolute bi bi-pencil" data-type="user-tool" |
|
|
|
|
|
data-action="edit" (click)="openModalEditPosting(post)"></span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="card ms-5" *ngFor="let comment of post.comments"> |
|
|
<div class="card ms-5" *ngFor="let comment of post.comments"> |
|
|
@@ -50,7 +52,8 @@ |
|
|
<div> |
|
|
<div> |
|
|
<p>{{ comment.message }}</p> |
|
|
<p>{{ comment.message }}</p> |
|
|
</div> |
|
|
</div> |
|
|
<span *ngIf="comment.owner === user?.id" class="position-absolute bi bi-pencil" data-type="user-tool" data-action="edit" (click)="openModalEditComment(comment)"></span> |
|
|
|
|
|
|
|
|
<span *ngIf="comment.owner === user?.id" class="position-absolute bi bi-pencil" data-type="user-tool" |
|
|
|
|
|
data-action="edit" (click)="openModalEditComment(comment)"></span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|