Files
2015-10-13 20:39:51 -04:00

17 lines
500 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",
matchcount=Url.Action("AvailableMatchCount", "FuelLog", new {id = Model.FuelLogId})
})
}