Add filtering

Improve matching
This commit is contained in:
2015-09-25 11:15:57 -04:00
parent 5e90c6d330
commit 46dfaba731
14 changed files with 157 additions and 86 deletions
+12
View File
@@ -0,0 +1,12 @@
@model MileageTraker.Web.ViewModels.FuelLog.MatchLinkViewModel
@{
Layout = null;
}
@if (Model.LogId != null)
{
@Html.ActionLink("View Match", "Match", new {id = Model.FuelLogId}, new {@class = "btn btn-mini", target = "_blank"})
}
else
{
@Html.ActionLink("Match", "Match", new {id = Model.FuelLogId}, new {@class = "btn btn-warning btn-mini", target = "_blank"})
}