@using Resources @using PagedList.Mvc @using PagedList @model Weee.Areas.Admin.ViewModels.ParameterIndexViewModel @{ ViewBag.Title = Resource.StaticLabelNonYearlyParameterMaintain; Layout = "~/Areas/admin/Views/Shared/_AdminLayout.cshtml"; }
@Html.DisplayNameFor(model => model.PagedParameterTypes.First().Category) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().DisplayName) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().Value) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().CO2Value) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().CH4Value) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().N2OValue) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().HFCsValue) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().PFCsValue) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().SF6Value) | @Html.DisplayNameFor(model => model.PagedParameterTypes.First().Parameters.First().NF3Value) | |
---|---|---|---|---|---|---|---|---|---|---|
@Html.DisplayFor(modelItem => item.Category.DisplayName) | @Html.DisplayFor(modelItem => item.DisplayName) | @item.Parameters.First().Value.ToString("0.############") | @item.Parameters.First().CO2Value.ToString("0.############") | @item.Parameters.First().CH4Value.ToString("0.############") | @item.Parameters.First().N2OValue.ToString("0.############") | @item.Parameters.First().HFCsValue.ToString("0.############") | @item.Parameters.First().PFCsValue.ToString("0.############") | @item.Parameters.First().SF6Value.ToString("0.############") | @item.Parameters.First().NF3Value.ToString("0.############") | @Html.ActionLink(Resource.StaticLabelGlobal_Edit, "Edit", new { typeid = item.ID }, new { @class = "btn btn-xs btn-default" }) @Html.ActionLink(Resource.StaticLabelGlobal_Delete, "Delete", new { typeid = item.ID, category = Model.Category }, new { @class = "btn btn-xs btn-default" }) |