공지사항 화면수정

This commit is contained in:
이담 정 2022-09-28 07:21:27 +00:00
parent 5f98fd5ca7
commit ff8038b078

View File

@ -15,7 +15,7 @@
class="flex flex-col flex-auto p-6 sm:p-8 overflow-y-auto"
[formGroup]="composeForm"
>
<ng-container *ngIf="notice">
<!-- <ng-container *ngIf="notice">
<ng-container *ngIf="notice.length > 0; else noNotice">
<div class="grid">
<mat-accordion>
@ -27,29 +27,21 @@
<span>내용</span>
<span>날짜</span>
</div>
<!-- <ng-container *ngIf="notice"> -->
<!-- <ng-container *ngFor="let info of notice; trackBy: __trackByFn"> -->
<mat-expansion-panel *ngFor="let info of notice">
<mat-expansion-panel-header>
&nbsp;&nbsp;&nbsp;&nbsp;
<span>{{ info.idx }}</span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>
<span>{{ info.title }}</span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>{{ info.applicationDate }}</span>
</mat-expansion-panel-header>
<div>
{{ info.contents }}
{{ info.content }}
</div>
</mat-expansion-panel>
<!-- </ng-container> -->
<!-- </ng-container> -->
</mat-accordion>
</div>
</ng-container>
</ng-container>
</ng-container> -->
<ng-template #noNotice>
<div