diff --git a/Project-Unite/Views/Profiles/ViewProfile.cshtml b/Project-Unite/Views/Profiles/ViewProfile.cshtml
index a5a5196..13147a7 100644
--- a/Project-Unite/Views/Profiles/ViewProfile.cshtml
+++ b/Project-Unite/Views/Profiles/ViewProfile.cshtml
@@ -5,14 +5,13 @@
}
-
- @if (string.IsNullOrWhiteSpace(Model.FullName))
- { @Model.DisplayName }
- else
+
+
+ @if (!string.IsNullOrWhiteSpace(Model.FullName))
{
-
@Model.FullName (@Model.DisplayName)}
-
-
+ @Model.FullName
+ }
+ @Model.DisplayName
@if (Model.UserName != User.Identity.Name)
@@ -28,17 +27,35 @@
}
-
-
-
User stats
-
- - @Model.Codepoints Codepoints
- - Joined at: @Model.JoinedAt
- - Posts: @Model.PostCount
- - Topics: @Model.TopicCount
-
+
+
+
User stats
+
+ - @Model.Codepoints Codepoints
+ - Joined at: @Model.JoinedAt
+ - Posts: @Model.PostCount
+ - Topics: @Model.TopicCount
+
+
+
Followers
+
+ @foreach (var f in Model.Followers)
+ {
+ - @Html.UserLink(f.Follower)
+ }
+
+
+
Following
+
+ @foreach (var f in Model.Followed)
+ {
+ - @Html.UserLink(f.Followed)
+ }
+
+
+
-
+
@if(Model.UserName == User.Identity.Name)
{
Html.RenderPartial("~/Views/Profiles/_NewPost.cshtml", new Project_Unite.Models.UserPost());
@@ -68,28 +85,4 @@
}
-
-
-
-
Followers
-
- @foreach(var f in Model.Followers)
- {
- - @Html.UserLink(f.Follower)
- }
-
-
-
-
-
-
Following
-
- @foreach (var f in Model.Followed)
- {
- - @Html.UserLink(f.Followed)
- }
-
-
-
-
\ No newline at end of file