Details improvements
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@model IEnumerable<LeafWeb.WebCms.Models.ResultStatusViewModel>
|
||||
@model IEnumerable<ResultStatusViewModel>
|
||||
|
||||
@{
|
||||
var grid = new WebGrid(Model, rowsPerPage: 45);
|
||||
@@ -78,10 +78,9 @@
|
||||
}
|
||||
@helper DeleteLink(dynamic item)
|
||||
{
|
||||
<a href="@Url.Action("Delete", "Queue", new {id = item.LeafInputId})">
|
||||
<span class="glyphicon glyphicon-remove"></span> Delete
|
||||
</a>
|
||||
@Html.Partial("DisplayTemplates/_DeleteForm", (Tuple<int, bool>)Tuple.Create(item.LeafInputId, item.IsDeletable))
|
||||
}
|
||||
|
||||
@helper DisableItem(bool disabled)
|
||||
{
|
||||
if (disabled) {<text>class="disabled"</text>}
|
||||
|
||||
Reference in New Issue
Block a user