summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Profiles
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-23 18:08:20 -0400
committerMichael <[email protected]>2017-03-23 18:08:20 -0400
commit0f2629f0603b3c8f5dddf0747da6916dbf479dc4 (patch)
tree277a286b77ccaead5bd8f948f4eca9c0239ecabb /Project-Unite/Views/Profiles
parent8330fbc5cb51d359d3716c431d1b4af0d31d4e2c (diff)
downloadproject-unite-0f2629f0603b3c8f5dddf0747da6916dbf479dc4.tar.gz
project-unite-0f2629f0603b3c8f5dddf0747da6916dbf479dc4.tar.bz2
project-unite-0f2629f0603b3c8f5dddf0747da6916dbf479dc4.zip
Profile work.
Diffstat (limited to 'Project-Unite/Views/Profiles')
-rw-r--r--Project-Unite/Views/Profiles/ViewProfile.cshtml27
1 files changed, 27 insertions, 0 deletions
diff --git a/Project-Unite/Views/Profiles/ViewProfile.cshtml b/Project-Unite/Views/Profiles/ViewProfile.cshtml
new file mode 100644
index 0000000..94ca858
--- /dev/null
+++ b/Project-Unite/Views/Profiles/ViewProfile.cshtml
@@ -0,0 +1,27 @@
+@model Project_Unite.Models.ApplicationUser
+@{
+ ViewBag.Title = Model.DisplayName;
+ ViewBag.Banner = Model.BannerUrl;
+}
+
+<div class="row">
+ <h3>
+ <img src="@Model.AvatarUrl" width="64" height="64" /> @if (string.IsNullOrWhiteSpace(Model.FullName))
+ { <strong> @Model.DisplayName </strong>}
+ else
+ {
+ <strong>@Model.FullName</strong> <em>(@Model.DisplayName)</em>}
+ </h3>
+</div>
+
+<div class="row">
+ <div class="col-xs-4">
+ <h4>User stats</h4>
+ <ul>
+ <li><strong>@Model.Codepoints</strong> Codepoints</li>
+ <li><strong>Joined at: </strong>@Model.JoinedAt</li>
+ <li><strong>Posts: </strong>@Model.PostCount</li>
+ <li><strong>Topics: </strong>@Model.TopicCount</li>
+ </ul>
+ </div>
+</div> \ No newline at end of file