26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
@model MileageTraker.Web.ViewModels.ServiceReminder.ServiceReminderResultsViewModel
|
|
|
|
@{
|
|
ViewBag.Title = "Service Reminders";
|
|
}
|
|
|
|
@Html.Partial("_StatusMessage")
|
|
|
|
<h2 class="center-content"><i class="fa fa-clock-o"></i> @ViewBag.Title</h2>
|
|
<h4 class="center-content">for Vehicle @Model.VehicleId</h4>
|
|
|
|
<div class="center-content">
|
|
@foreach (var item in Model.ServiceReminderItems)
|
|
{
|
|
Html.RenderPartial("ServiceReminderViewModel", item);
|
|
}
|
|
</div>
|
|
|
|
<div class="btn-toolbar center-content well">
|
|
<div class="btn-group">
|
|
@Html.ActionLink("Add Reminder", "Create", new { vehicleId = Model.VehicleId }, new { @class = "btn" })
|
|
@Html.ActionLink("Add Service", "Create", "VehicleService", new { vehicleId = Model.VehicleId }, new { @class = "btn" })
|
|
@Html.ActionLink("Add Recall", "Create", "VehicleRecall", new { vehicleId = Model.VehicleId }, new { @class = "btn" })
|
|
</div>
|
|
@Html.ActionLink("Vehicle Details", "Details", "Vehicle", new { id = Model.VehicleId }, new { @class = "btn" })
|
|
</div> |