diff --git a/Project-Unite/Views/Profiles/ViewProfile.cshtml b/Project-Unite/Views/Profiles/ViewProfile.cshtml index 32b8e0a..88c2e81 100644 --- a/Project-Unite/Views/Profiles/ViewProfile.cshtml +++ b/Project-Unite/Views/Profiles/ViewProfile.cshtml @@ -61,6 +61,43 @@
+ +

About @Model.DisplayName

+ + @if (!string.IsNullOrWhiteSpace(Model.Bio)) + { +

Bio

+

@Html.Markdown(Model.Bio)

+ } + +
+
+

Interests

+ @if (string.IsNullOrWhiteSpace(Model.Interests)) + { +

Nothing to show here.

+ } + else + { +

@Html.Markdown(Model.Interests)

+ } +
+

Hobbies

+ @if (string.IsNullOrWhiteSpace(Model.Hobbies)) + { +

Nothing to show here.

+ } + else + { +

@Html.Markdown(Model.Hobbies)

+ } +
+
+ + + +

Posts

+ @if(Model.UserName == User.Identity.Name) { Html.RenderPartial("~/Views/Profiles/_NewPost.cshtml", new Project_Unite.Models.UserPost());