aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor/profile.php
diff options
context:
space:
mode:
authorwinter2025-05-08 21:34:04 +0100
committerwinter2025-05-08 21:34:04 +0100
commit478cf68228b0157da9446354a993804ddac65d51 (patch)
tree1ea86273a94e5a8147e1c2f2dcbb1856e7fef24d /templates/actor/profile.php
parenta904294db09ccaa93a5b561e7cd177026010e601 (diff)
add automated account indicator
Diffstat (limited to 'templates/actor/profile.php')
-rw-r--r--templates/actor/profile.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/actor/profile.php b/templates/actor/profile.php
index 3e1a11e..4e5f66a 100644
--- a/templates/actor/profile.php
+++ b/templates/actor/profile.php
@@ -23,6 +23,12 @@ $actorUser = UserAccount::findByLinkedActor($actor);
<div class="pronouns"><?= htmlspecialchars($actor->pronouns) ?></div>
<div class="handle">@<?= $actor->getFullHandle() ?></div>
<div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), format_datetime($actor->created)) ?></div>
+ <?php if ($actor->automated): ?>
+ <div class="inlinePill">
+ <span class="pillIcon material-symbols person-off-outline"></span>
+ <span class="pillText"><?= __('user.profile.automated') ?></span>
+ </div>
+ <?php endif; ?>
</div>
<div class="profileMiniActions">