@using bitforum.Helpers; @{ ViewData["Title"] = "팝업 관리"; var popups = ViewBag.Popups as List; var total = (popups?.Count ?? 0).ToString("N0"); var pagination = ViewBag.Pagination as bitforum.Models.Pagination; }

@ViewData["Title"]


Total : @total
추가
@if (popups == null || !popups.Any()) { } else { @foreach (var row in popups) { } }
ID 제목 주소 조회 수 사용 여부 등록일시 수정일시 비고
No Data.
@row.ID @row.Subject
사용 기한: @if (row.StartAt != null && row.EndAt != null) { @row.StartAt.GetDateAt() ~ @row.EndAt.GetDateAt() } @if (row.StartAt != null && row.EndAt is null) { @row.StartAt.GetDateAt() ~ } @if (row.StartAt is null && row.EndAt != null) { ~ @row.EndAt.GetDateAt() } else { [무기한] }
@if (@row.Link is not null) { @row.Link } else { - } @row.Views @(row.IsActive ? "Y" : "N") @row.CreatedAt.GetDateAt() @row.UpdatedAt.GetDateAt()