-
You're logged in as @User.Identity.Name.
+
You're logged in as @User.Identity.Name.
+ Your name is @Model.FullName and
+ email is @Model.Email.
+
@Html.Partial("_ChangePasswordPartial")
diff --git a/Web/Views/Account/NewPassword.cshtml b/Web/Views/Account/NewPassword.cshtml
index 659c6da..d3840d7 100644
--- a/Web/Views/Account/NewPassword.cshtml
+++ b/Web/Views/Account/NewPassword.cshtml
@@ -15,6 +15,7 @@
@ViewBag.Title
+
Hello @Model.Username, please enter a new password below.
@Html.AntiForgeryToken()
@Html.Partial("_ValidationSummary")
diff --git a/Web/Views/Account/Register.cshtml b/Web/Views/Account/Register.cshtml
deleted file mode 100644
index 53a132e..0000000
--- a/Web/Views/Account/Register.cshtml
+++ /dev/null
@@ -1,33 +0,0 @@
-@model MileageTraker.Web.ViewModels.Account.RegisterModel
-@{
- ViewBag.Title = "Register";
-}
-
-
- @ViewBag.Title
- Create a new account.
-
-
-@using (Html.BeginForm()) {
- @Html.AntiForgeryToken()
- @Html.Partial("_ValidationSummary")
-
-
-}
diff --git a/Web/Views/Log/Index.cshtml b/Web/Views/Log/Index.cshtml
index d5cd80f..1af13cf 100644
--- a/Web/Views/Log/Index.cshtml
+++ b/Web/Views/Log/Index.cshtml
@@ -32,7 +32,7 @@
@Html.ActionLink("Vehicle Mileage", "MonthlyVehicleMileage", new { Year = Model.SelectedYear, Month = Model.SelectedMonth, LogType = Model.SelectedLogType })
- @Html.ActionLink("Employee Mileage", "MonthlyEmployeeMileage", new { Year = Model.SelectedYear, Month = Model.SelectedMonth, LogType = Model.SelectedLogType })
+ @Html.ActionLink("Driver Mileage", "MonthlyDriverMileage", new { Year = Model.SelectedYear, Month = Model.SelectedMonth, LogType = Model.SelectedLogType })
diff --git a/Web/Views/Log/MonthlyEmployeeMileage.cshtml b/Web/Views/Log/MonthlyDriverMileage.cshtml
similarity index 92%
rename from Web/Views/Log/MonthlyEmployeeMileage.cshtml
rename to Web/Views/Log/MonthlyDriverMileage.cshtml
index 38d2a31..4433d5c 100644
--- a/Web/Views/Log/MonthlyEmployeeMileage.cshtml
+++ b/Web/Views/Log/MonthlyDriverMileage.cshtml
@@ -1,6 +1,6 @@
-@model MileageTraker.Web.ViewModels.EmployeeMileageViewModel
+@model MileageTraker.Web.ViewModels.DriverMileageViewModel
@{
- ViewBag.Title = "Employee Mileage Report";
+ ViewBag.Title = "Driver Mileage Report";
}
@{ Html.RenderPartial("BackToLogs"); }
@@ -30,7 +30,7 @@