From dccadd3d425b744db3b70edde903511276c0ae4d Mon Sep 17 00:00:00 2001 From: James Kolpack Date: Thu, 17 Jan 2013 20:13:11 -0500 Subject: [PATCH] Add note to login page describing the new requirements --- Web/Views/Account/Login.cshtml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Web/Views/Account/Login.cshtml b/Web/Views/Account/Login.cshtml index 9e6b166..402cc4c 100644 --- a/Web/Views/Account/Login.cshtml +++ b/Web/Views/Account/Login.cshtml @@ -1,4 +1,5 @@ -@model MileageTraker.Web.ViewModels.Account.LoginViewModel +@using System.Configuration +@model MileageTraker.Web.ViewModels.Account.LoginViewModel @{ ViewBag.Title = "Log in"; @@ -9,6 +10,17 @@ } +@if (DateTime.Now <= new DateTime(2013, 4, 1)) +{ +

+ Welcome. Mileage Traker now requires all users + to log in before entering mileage. Emails containing instructions + to initialize a password have been sent to all drivers - please + check your inbox for a message titled "@ConfigurationManager.AppSettings["InitializePasswordSubject"]". + If you have not received this email, please contact your administrator. +

+} + @using (Html.BeginForm("Login", "Account", new { ViewBag.ReturnUrl }, FormMethod.Post, new {@class = "form-login"})) { @Html.Partial("_StatusMessage")