aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor_profile_page.php
diff options
context:
space:
mode:
authorwinter2024-12-24 15:32:56 +0000
committerwinter2024-12-24 15:32:56 +0000
commitd5a57276eb27e215dd0b1bd5eb67ac26acc9575b (patch)
tree0cb3a14fa9a82d2438a7c12838f04ea12e02a9fa /templates/actor_profile_page.php
parent01b7c47c68b8b3c5a9fd9137b067b34b566b951d (diff)
more stuff and things
Diffstat (limited to 'templates/actor_profile_page.php')
-rw-r--r--templates/actor_profile_page.php3
1 files changed, 3 insertions, 0 deletions
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 '<hr>';
$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]);
}