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
-
-
-

User stats

- +
+ + User stats
+ + +

Followers

+ + +

Following

+ + +
-
+
@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