|
|
@if (entry.User.RegistrationStatus == UserStatus.Approved && entry.User.EmailStatus == UserStatus.Approved) {
}
else {
}
@Html.ActionLink(entry.User.UserName, "Edit", new { entry.User.Id })
|
@entry.User.Email
|
-
@Html.ActionLink(T("Edit").ToString(), "Edit", new { entry.User.Id })
-
@Html.ActionLink(T("Delete").ToString(), "Delete", new { entry.User.Id }, new { itemprop = "RemoveUrl UnsafeUrl" })
@if (entry.User.RegistrationStatus == UserStatus.Pending) {
-
@Html.ActionLink(T("Approve").ToString(), "Approve", new { entry.User.Id }, new { itemprop = "UnsafeUrl" })
}
else {
-
@Html.ActionLink(T("Disable").ToString(), "Moderate", new { entry.User.Id }, new { itemprop = "UnsafeUrl" })
}
@if (entry.User.EmailStatus == UserStatus.Pending) {
-
@Html.ActionLink(T("Send challenge E-mail").ToString(), "SendChallengeEmail", new { entry.User.Id }, new { itemprop = "UnsafeUrl" })
}
|
@if (entry.User.CreatedUtc != null) {
@Display(New.DateTimeRelative(dateTimeUtc: entry.User.CreatedUtc))
}
|
@if (entry.User.LastLoginUtc != null) {
@Display(New.DateTimeRelative(dateTimeUtc: entry.User.LastLoginUtc))
}
|
userIndex++;
}