공지사항 화면수정

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