aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor/profile_page.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/actor/profile_page.php')
-rw-r--r--templates/actor/profile_page.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/actor/profile_page.php b/templates/actor/profile_page.php
index 7ae8d09..f9b688c 100644
--- a/templates/actor/profile_page.php
+++ b/templates/actor/profile_page.php
@@ -38,6 +38,10 @@ call_template('skeleton', [
call_template('actor/profile_poke_form', ['actor' => $actor]);
}
+ if (!$actor->isLocal && !isset($actor->endpoints->follow)) {
+ call_template('alertbox', ['variety' => 'info', 'message' => __('user.profile.noPushWarning')]);
+ }
+
echo '<hr>';
$notes = Note::findAllWithAuthor($actor, 20);
if (count($notes) == 0) {