30 lines
847 B
Plaintext
30 lines
847 B
Plaintext
@using MileageTraker.Web.Utility
|
|
@model MileageTraker.Web.ViewModels.CreateLogViewModel
|
|
@{
|
|
|
|
ViewBag.Title = "Success";
|
|
var blackBerry = Request.IsBlackBerry();
|
|
ViewBag.PageStyle = blackBerry ? "~/Content/CreateLog/BlackBerry.css" : "~/Content/CreateLog/Index.css";
|
|
Layout = "~/Views/Shared/_Layout.min.cshtml";
|
|
}
|
|
|
|
@if (!blackBerry) {
|
|
@:<fieldset>
|
|
<legend>@ViewBag.Title</legend>
|
|
}
|
|
<p>
|
|
You've successfully created an entry
|
|
for <strong>@Html.Encode(Model.EmployeeName)</strong>
|
|
traveling to <strong>@Html.Encode(Model.CityName)</strong>
|
|
on <strong>@Html.Encode(Model.Date)</strong>
|
|
in VehicleId <strong>@Html.Encode(Model.VehicleId)</strong>
|
|
</p>
|
|
<p>
|
|
@Html.ActionLink("Create another", "Index", null, new { @class = "ui-button" })
|
|
</p>
|
|
@if (!blackBerry)
|
|
{
|
|
@:</fieldset>
|
|
}
|
|
|