Nearing feature complete for driver auth
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
|
||||
@grid.GetHtml(columns:
|
||||
grid.Columns(
|
||||
grid.Column("Username", format:
|
||||
grid.Column("FullName", "Full Name"),
|
||||
grid.Column("Username", format:
|
||||
@<text>
|
||||
<span title="@Html.Encode(item.Email)">
|
||||
@Html.Encode(item.Username)
|
||||
@@ -37,7 +38,6 @@
|
||||
LastLockoutDate = item.LastLockoutDate,
|
||||
IsApproved = item.IsApproved})
|
||||
</text> ),
|
||||
grid.Column("FullName", "Full Name"),
|
||||
grid.Column("Roles", format:
|
||||
@<text>
|
||||
@{var roles = Roles.Provider.GetRolesForUser(item.Username);}
|
||||
@@ -50,10 +50,10 @@
|
||||
<span class='label label-warning'>No Role</span>
|
||||
}
|
||||
</text>),
|
||||
grid.Column("LastActivityDate", "Last Activity", format:
|
||||
grid.Column("LastActivityDate", "Last Activity",
|
||||
@<text>
|
||||
@Html.Partial("_LastActivity", (DateTime)item.LastActivityDate)
|
||||
</text>),
|
||||
</text>),
|
||||
grid.Column(format:
|
||||
@<div class='btn-group'>
|
||||
@*Html.ActionLink("Edit", "Edit", new { id = item.UserId }, new { @class = "btn btn-mini" })*@
|
||||
|
||||
Reference in New Issue
Block a user