Match count badges
This commit is contained in:
@@ -47,7 +47,11 @@
|
||||
grid.Column("Log", "Matched Log", @<text>
|
||||
@(item.LogId != null
|
||||
? Html.ActionLink("View Match", "Match", new {id = item.FuelLogId}, new {@class = "btn btn-mini", target="_blank"})
|
||||
: Html.ActionLink("Match", "Match", new {id = item.FuelLogId}, new {@class = "btn btn-warning btn-mini", target="_blank"}))
|
||||
: Html.ActionLink("Match", "Match", new {id = item.FuelLogId},
|
||||
new {@class = "btn btn-warning btn-mini",
|
||||
target="_blank",
|
||||
matchcount=Url.Action("AvailableMatchCount", "FuelLog", new {id = item.FuelLogId})
|
||||
}))
|
||||
</text>)),
|
||||
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed"},
|
||||
numericLinksCount: 20
|
||||
|
||||
@@ -8,5 +8,9 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.ActionLink("Match", "Match", new {id = Model.FuelLogId}, new {@class = "btn btn-warning btn-mini", target = "_blank"})
|
||||
@Html.ActionLink("Match", "Match", new {id = Model.FuelLogId},
|
||||
new {@class = "btn btn-warning btn-mini",
|
||||
target="_blank",
|
||||
matchcount=Url.Action("AvailableMatchCount", "FuelLog", new {id = Model.FuelLogId})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user