Reformating charting, add DataError message

This commit is contained in:
2016-05-09 11:46:32 -04:00
parent 1ba8f24b10
commit aca7157663
11 changed files with 616 additions and 24 deletions
+4 -4
View File
@@ -5,7 +5,7 @@
var grid = new WebGrid(Model, rowsPerPage: 45);
}
<h1>Result Status</h1>
<h1>@ViewBag.Title</h1>
@grid.GetHtml(columns:
grid.Columns(
@@ -15,8 +15,8 @@
grid.Column("CurrentStatus", "Status"),
grid.Column("Chart", "Chart", item =>
item.HasLeafChart
? Html.ActionLink("Chart", "Index", "LeafCharter", new {leafInputId = item.LeafInputId}, new {})
: Html.Raw(""))
),
? Html.ActionLink("Chart", "Index", "Chart", new {leafInputId = item.LeafInputId}, new {})
: Html.Raw(""))
),
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
)