@using Weee.Models.ExtensionMethods @using PagedList.Mvc @using PagedList @using Resources @model IEnumerable @{ ViewBag.Title = Resource.StaticLabelLCAList; Layout = "~/Areas/admin/Views/Shared/_AdminLayout.cshtml"; }

@Resource.StaticLabelLCAList

@using (Html.BeginForm("Index", "LCA", FormMethod.Get, new { @class = "form-horizontal" })) {
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "index", new { }, new { @class = "btn btn-default" })
}
@foreach (var item in Model) { }
@Html.DisplayNameFor(model=>model.Description) @Html.DisplayNameFor(model => model.Owner) @Html.DisplayNameFor(model => model.VerifyBy) @Html.DisplayNameFor(model => model.CreatedDate) @Html.DisplayNameFor(model => model.StartDate) @Html.DisplayNameFor(model => model.EndDate) @Html.DisplayNameFor(model => model.DeadLine) @Html.DisplayNameFor(model=>model.LCAType) @Html.DisplayNameFor(model => model.Status)
@item.Description @(item.Owner == null ? "" : item.Owner.Name) @(item.VerifyBy == null ? "" : item.VerifyBy.Name) @item.CreatedDate.ToShortDateString() @item.StartDate.ToShortDateString() @item.EndDate.ToShortDateString() @(item.DeadLine.HasValue ? item.DeadLine.Value.ToShortDateString() : "") @item.LCATypeDisplayName @item.Status.DisplayString() @Html.ActionLink(Resource.StaticLabelGlobal_Detail, "Details", new { id = item.ID }, new { @class = "btn btn-xs btn-default" })
@Html.PagedListPager((IPagedList)Model, page => Url.Action("index", new { page, companyName = ViewBag.CompanyName }))