@model IEnumerable @using Weee.Models @using Resources @using PagedList.Mvc @using PagedList @{ ViewBag.Title = Resource.HomePage; Layout = "~/Areas/Certification/Views/Shared/_CertificationLayout.cshtml"; }

歷史紀錄

@using (Html.BeginForm("all", "home", FormMethod.Get, new { id = "search-filter", @class = "form-horizontal" })) {
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "", new { }, new { @class = "btn btn-default" })
}
@**@ @foreach (var item in Model) { @if (item.LCAType == typeof(ProductLCA)) { } else if (item.LCAType == typeof(OrganizationLCA)) { } }
@Html.ActionLink("ID","All",new{((IPagedList)Model).PageNumber,searchString=ViewBag.SearchString})ID @Html.DisplayNameFor(x => x.StartDate) @Html.DisplayNameFor(x => x.EndDate) @Html.DisplayNameFor(x => x.Description) @Html.DisplayNameFor(x => x.LCAType)
@Html.DisplayFor(x => item.ID) @item.StartDate.ToShortDateString() @item.EndDate.ToShortDateString() @Html.DisplayFor(x => item.Description) @Html.DisplayFor(x => item.LCATypeDisplayName)@Html.ActionLink("Detail", "ProductLcaDetail", "LCA", new { id = item.ID }, null)@Html.ActionLink("Detail", "OrganizationLcaDetail", "LCA", new { id = item.ID }, null)
@Html.PagedListPager((IPagedList)Model, page => Url.Action("All", new { page, searchString = ViewBag.SearchString }))