my_posts: owner-posts pane title @<handle>'s Posts → Posts by Me — symmetrises w. the right pane's Posts by Others (both panes now read as point-of-view labels rather than one identity-stamped + one generic), and drops the @<handle> reveal from a screen the owner alone visits (handle is already in the navbar avatar tooltip); handle = owner.username or owner.email derivation goes w. it since nothing else in the view referenced it
Code architected by Disco DeDisco <discodedisco@outlook.com> Git commit message Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -320,10 +320,9 @@ def my_posts(request, user_id):
|
||||
return redirect("/")
|
||||
if request.user.id != owner.id:
|
||||
return HttpResponseForbidden()
|
||||
handle = owner.username or owner.email
|
||||
return render(request, "apps/billboard/my_posts.html", {
|
||||
"owner": owner,
|
||||
"owner_posts_title": f"@{handle}'s Posts",
|
||||
"owner_posts_title": "Posts by Me",
|
||||
"others_posts_title": "Posts by Others",
|
||||
"page_class": "page-billposts",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user