Commit ab343942 authored by Nathan Bean's avatar Nathan Bean
Browse files

Added user detail view

parent ab996e7b
@model KSU.CS.Pendant.Server.Models.User
@{ ViewData["Title"] = "User Details"; }
<h1>@Model.FullName</h1>
<dl>
<dt>First Name</dt>
<dd>@Model.FirstName</dd>
<dt>Last Name</dt>
<dd>@Model.LastName</dd>
<dt>EID</dt>
<dd>@Model.EID</dd>
</dl>
@if(Model.GitHubAccount != null) {
<h2>GitHub</h2>
<dl>
<dt>Login</dt>
<dd>@Model.GitHubAccount.Username</dd>
</dl>
}
<h2>Validations</h2>
<ul>
@foreach (var validation in Model.ValidationAttempts)
{
<li>@Html.ActionLink(validation.Identity, "Details", "Validations", new { Id = validation.ID })</li>
}
</ul>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment