aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor/profile_page.php
diff options
context:
space:
mode:
authorwinter2025-05-11 18:24:02 +0100
committerwinter2025-05-11 18:24:02 +0100
commit5d7a4605bd0bd71949a37139eccfbf8a70d0c32e (patch)
tree505324e8aa1478776f7ea41015e426a15b795f79 /templates/actor/profile_page.php
parent5f5a1323eda22d7771ec10c364d41650d7f2814f (diff)
improvements to simple remote actor support
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) {