Files
MileageTraker/Web/Views/FuelLog/MatchLink.cshtml
T
poprhythm 46dfaba731 Add filtering
Improve matching
2015-09-25 11:15:57 -04:00

13 lines
374 B
Plaintext

@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"})
}