자유게시판 리스트 수정
This commit is contained in:
parent
a62f3e0d31
commit
ef0b3ffdd9
|
@ -61,7 +61,7 @@
|
||||||
>번호</mat-header-cell
|
>번호</mat-header-cell
|
||||||
>
|
>
|
||||||
<mat-cell *matCellDef="let freeBoard; let i = index">
|
<mat-cell *matCellDef="let freeBoard; let i = index">
|
||||||
<p class="text-truncate">{{ i }}</p>
|
<p class="text-truncate">{{ i + 1 }}</p>
|
||||||
</mat-cell>
|
</mat-cell>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
>
|
>
|
||||||
<mat-cell *matCellDef="let freeBoard" fxHide fxShow.gt-sm>
|
<mat-cell *matCellDef="let freeBoard" fxHide fxShow.gt-sm>
|
||||||
<p class="text-truncate">
|
<p class="text-truncate">
|
||||||
{{ freeBoard.createdDate | date: 'yyyy.MM.dd, HH:mm:ss' }}
|
{{ freeBoard.createdAt | date: 'yyyy.MM.dd, HH:mm:ss' }}
|
||||||
</p>
|
</p>
|
||||||
</mat-cell>
|
</mat-cell>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
<mat-header-cell *matHeaderCellDef mat-sort-header
|
<mat-header-cell *matHeaderCellDef mat-sort-header
|
||||||
>적용</mat-header-cell
|
>적용</mat-header-cell
|
||||||
>
|
>
|
||||||
<mat-cell *matCellDef="let user">
|
<mat-cell *matCellDef="let freeBoard">
|
||||||
<p class="text-truncate ">
|
<p class="text-truncate ">
|
||||||
<button mat-raised-button class="mat-accent">
|
<button mat-raised-button class="mat-accent">
|
||||||
삭제
|
삭제
|
||||||
|
@ -144,10 +144,10 @@
|
||||||
></mat-header-row>
|
></mat-header-row>
|
||||||
|
|
||||||
<mat-row
|
<mat-row
|
||||||
*matRowDef="let user; columns: displayedColumns"
|
*matRowDef="let freeBoard; columns: displayedColumns"
|
||||||
class="user"
|
class="free-board"
|
||||||
matRipple
|
matRipple
|
||||||
[routerLink]="'/pages/users/management/list/' + user.id"
|
[routerLink]="'/pages/infos/management/free-board/' + freeBoard.id"
|
||||||
>
|
>
|
||||||
</mat-row>
|
</mat-row>
|
||||||
</mat-table>
|
</mat-table>
|
||||||
|
|
|
@ -66,7 +66,7 @@ app-free-board-list {
|
||||||
min-height: 64px;
|
min-height: 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user {
|
.free-board {
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 84px;
|
height: 84px;
|
||||||
|
|
|
@ -35,7 +35,8 @@ export class FreeBoardListComponent
|
||||||
'contents',
|
'contents',
|
||||||
'createdBy',
|
'createdBy',
|
||||||
'createdAt',
|
'createdAt',
|
||||||
'contactStatus'
|
'contactStatus',
|
||||||
|
'removeBtn'
|
||||||
];
|
];
|
||||||
private unsubscribeAll: Subject<any>;
|
private unsubscribeAll: Subject<any>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user