Files
MileageTraker/Web/Views/User/_LastActivity.cshtml
T
2013-01-05 20:56:27 -05:00

12 lines
268 B
Plaintext

@using MileageTraker.Web.Utility
@model DateTime
@if (!Model.IsSqlMinValue())
{
@Html.Encode(Model)
<span class="muted">(@Html.Encode((DateTime.Now - Model).ToVerboseStringHistoric()))</span>
}
else
{
<span class='label label-info'>No Activity</span>
}