자유게시판 리스트 수정

This commit is contained in:
byung eun park 2019-11-06 23:01:28 +09:00
parent a62f3e0d31
commit ef0b3ffdd9
3 changed files with 9 additions and 8 deletions

View File

@ -61,7 +61,7 @@
>번호</mat-header-cell
>
<mat-cell *matCellDef="let freeBoard; let i = index">
<p class="text-truncate">{{ i }}</p>
<p class="text-truncate">{{ i + 1 }}</p>
</mat-cell>
</ng-container>
@ -106,7 +106,7 @@
>
<mat-cell *matCellDef="let freeBoard" fxHide fxShow.gt-sm>
<p class="text-truncate">
{{ freeBoard.createdDate | date: 'yyyy.MM.dd, HH:mm:ss' }}
{{ freeBoard.createdAt | date: 'yyyy.MM.dd, HH:mm:ss' }}
</p>
</mat-cell>
</ng-container>
@ -130,7 +130,7 @@
<mat-header-cell *matHeaderCellDef mat-sort-header
>적용</mat-header-cell
>
<mat-cell *matCellDef="let user">
<mat-cell *matCellDef="let freeBoard">
<p class="text-truncate ">
<button mat-raised-button class="mat-accent">
삭제
@ -144,10 +144,10 @@
></mat-header-row>
<mat-row
*matRowDef="let user; columns: displayedColumns"
class="user"
*matRowDef="let freeBoard; columns: displayedColumns"
class="free-board"
matRipple
[routerLink]="'/pages/users/management/list/' + user.id"
[routerLink]="'/pages/infos/management/free-board/' + freeBoard.id"
>
</mat-row>
</mat-table>

View File

@ -66,7 +66,7 @@ app-free-board-list {
min-height: 64px;
}
.user {
.free-board {
position: relative;
cursor: pointer;
height: 84px;

View File

@ -35,7 +35,8 @@ export class FreeBoardListComponent
'contents',
'createdBy',
'createdAt',
'contactStatus'
'contactStatus',
'removeBtn'
];
private unsubscribeAll: Subject<any>;