Merged PR 863: #1661 TK Updatenotiz im Popup anzeigen

#1661 TK Updatenotiz im Popup anzeigen

Related work items: #1661
This commit is contained in:
Andreas Schickinger
2021-09-21 15:08:58 +00:00
committed by Lorenz Hilpert
parent d786adb604
commit a75febfeed
8 changed files with 52 additions and 6 deletions

View File

@@ -80,6 +80,17 @@
</div>
</ng-container>
<ng-container *ngIf="info?.updateComment">
<hr *ngIf="info?.attachments === 0 || info?.articles?.length === 0" />
<div class="update-comment">
<ui-icon icon="refresh" size="19px"></ui-icon>
<div class="grow">
{{ info.updateComment }}
</div>
</div>
<hr *ngIf="!(showNotes$ | async)" />
</ng-container>
<ng-container *ngIf="showNotes$ | async">
<hr />
<div class="notes">

View File

@@ -106,6 +106,14 @@ hr {
}
}
.update-comment {
@apply flex flex-row items-center text-lg;
ui-icon {
@apply mr-3 text-cool-grey;
}
}
.grow {
@apply flex-grow;
}

View File

@@ -1,4 +1,7 @@
<h3 *ngIf="info?.isSpecial">Sonderinfo</h3>
<h1>{{ info?.title }}</h1>
<div class="header">
<h1>{{ info?.title }}</h1>
<ui-icon *ngIf="info?.updateComment" icon="refresh" size="22px"></ui-icon>
</div>
<page-task-info [info]="info"></page-task-info>
<button type="button" (click)="close()"><ui-icon icon="close" size="16px"></ui-icon></button>

View File

@@ -2,8 +2,16 @@
@apply flex flex-col relative;
}
h1 {
@apply text-xl font-bold text-center;
.header {
@apply flex flex-row justify-center items-center mt-3;
h1 {
@apply text-xl font-bold text-center;
}
ui-icon {
@apply ml-4 text-dark-goldenrod;
}
}
h3 {

View File

@@ -1,4 +1,7 @@
<h3>Vorabinfo</h3>
<h1>{{ info?.title }}</h1>
<div class="header">
<h1>{{ info?.title }}</h1>
<ui-icon *ngIf="info?.updateComment" icon="refresh" size="22px"></ui-icon>
</div>
<page-task-info [info]="info" showTaskDate="true"></page-task-info>
<button type="button" (click)="close()"><ui-icon icon="close" size="16px"></ui-icon></button>

View File

@@ -2,8 +2,16 @@
@apply flex flex-col relative;
}
h1 {
@apply text-xl font-bold text-center;
.header {
@apply flex flex-row justify-center items-center mt-3;
h1 {
@apply text-xl font-bold text-center;
}
ui-icon {
@apply ml-4 text-dark-goldenrod;
}
}
h3 {

View File

@@ -3,6 +3,7 @@
<div class="header">
<ui-tshirt [effort]="info?.effort"></ui-tshirt>
<h1>{{ info?.title }}</h1>
<ui-icon *ngIf="info?.updateComment" icon="refresh" size="22px"></ui-icon>
</div>
<div class="status">
<div class="indicator" [style.backgroundColor]="indicatorColor$ | async"></div>

View File

@@ -8,6 +8,10 @@
h1 {
@apply text-xl font-bold text-center m-0 ml-4;
}
ui-icon {
@apply ml-4 text-dark-goldenrod;
}
}
.status {