diff options
Diffstat (limited to 'templates/actor_profile_page.php')
| -rw-r--r-- | templates/actor_profile_page.php | 3 |
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]); } |
