Rename ResultStatus to Results

This commit is contained in:
2016-05-06 11:16:43 -04:00
parent e0788154ec
commit cf3a13b77b
8 changed files with 41 additions and 36 deletions
+22
View File
@@ -0,0 +1,22 @@
@model IEnumerable<LeafWeb.Web.ViewModels.Results.ResultStatusViewModel>
@{
ViewBag.Title = "Result Status";
var grid = new WebGrid(Model, rowsPerPage: 45);
}
<h1>Result Status</h1>
@grid.GetHtml(columns:
grid.Columns(
grid.Column("LeafInputIdentifier", "Identifier"),
grid.Column("LeafInputSiteId", "Site Id"),
grid.Column("LeafInputName", "Submitted By"),
grid.Column("CurrentStatus", "Status"),
grid.Column("Chart", "Chart", item =>
item.HasLeafChart
? Html.ActionLink("Chart", "Index", "LeafCharter", new {leafInputId = item.LeafInputId}, new {})
: Html.Raw(""))
),
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
)