-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adding option to view other users profile - Adding users profile tests - Making other users profile view login required - Adding href to direct to the user profile when clicking post autor username - Adding href to direct to the user profile when clicking comment author username
- Loading branch information
Showing
6 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends "base.html" %} | ||
{% block styles %} | ||
{% endblock styles %} | ||
|
||
{% block content %} | ||
|
||
<div class="content-section"> | ||
<div class="media"> | ||
<img class="rounded-circle account-img" src="{{ object.profile_pic.url }}"> | ||
<div class="media-body"> | ||
<h2 class="account-heading">{{ object.user.username }}</h2> | ||
<hr> | ||
<h4>Profession</h4> | ||
<p class="text-secondary">{{object.profession }}</p> | ||
<h4>About Me</h4> | ||
<p class="text-secondary">{{object.bio }}</p> | ||
<h4>Email</h4> | ||
<p class="text-secondary">{{ object.user.email }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters