From d5a57276eb27e215dd0b1bd5eb67ac26acc9575b Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 24 Dec 2024 15:32:56 +0000 Subject: more stuff and things --- templates/actor_profile_page.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/actor_profile_page.php') diff --git a/templates/actor_profile_page.php b/templates/actor_profile_page.php index e745433..ffa94e3 100644 --- a/templates/actor_profile_page.php +++ b/templates/actor_profile_page.php @@ -10,6 +10,9 @@ call_template('skeleton', [ call_template('actor_profile', ['actor' => $actor]); echo '
'; $notes = Note::findAllWithAuthor($actor, 50); + if (count($notes) == 0) { + call_template('placeholder_text', ['message' => "This user hasn't posted anything yet."]); + } foreach ($notes as $n) { call_template('note', ['note' => $n]); } -- cgit v1.3