- @if(row.UserPart.RegistrationStatus == UserStatus.Approved && row.UserPart.EmailStatus == UserStatus.Approved) {
+
+
+ |
+
+ @if(entry.User.RegistrationStatus == UserStatus.Approved && entry.User.EmailStatus == UserStatus.Approved) {
}
else {
-
+
}
- @Html.ActionLink(row.UserPart.UserName, "Edit", new { row.UserPart.Id })
+ @Html.ActionLink(entry.User.UserName, "Edit", new { entry.User.Id })
|
- @row.UserPart.Email
+ @entry.User.Email
|
- @Html.ActionLink(T("Edit").ToString(), "Edit", new { row.UserPart.Id }) |
- @Html.ActionLink(T("Remove").ToString(), "Delete", new { row.UserPart.Id }) |
- @if(row.UserPart.RegistrationStatus == UserStatus.Pending) {
- @Html.ActionLink(T("Approve").ToString(), "Approve", new { row.UserPart.Id })
+ @Html.ActionLink(T("Edit").ToString(), "Edit", new { entry.User.Id }) |
+ @Html.ActionLink(T("Remove").ToString(), "Delete", new { entry.User.Id }) |
+ @if(entry.User.RegistrationStatus == UserStatus.Pending) {
+ @Html.ActionLink(T("Approve").ToString(), "Approve", new { entry.User.Id })
} else {
- @Html.ActionLink(T("Disable").ToString(), "Moderate", new { row.UserPart.Id })
+ @Html.ActionLink(T("Disable").ToString(), "Moderate", new { entry.User.Id })
}
- @if ( row.UserPart.EmailStatus == UserStatus.Pending ) { |
- @Html.ActionLink(T("Send challenge E-mail").ToString(), "SendChallengeEmail", new { row.UserPart.Id })
+ @if ( entry.User.EmailStatus == UserStatus.Pending ) { |
+ @Html.ActionLink(T("Send challenge E-mail").ToString(), "SendChallengeEmail", new { entry.User.Id })
}
|
- }
+ userIndex++;
+ }