aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor_profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/actor_profile.php')
-rw-r--r--templates/actor_profile.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/actor_profile.php b/templates/actor_profile.php
index 2947a72..cfcc510 100644
--- a/templates/actor_profile.php
+++ b/templates/actor_profile.php
@@ -17,7 +17,9 @@ $user = UserAccount::findByCurrentSession();
<div class="handle">@<?= $actor->getFullHandle() ?></div>
<div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), $actor->created->format('Y-m-d')) ?></div>
</div>
- <div>
+ <div class="profileMiniActions">
+ <?php if ($user != null && $user->actor != $actor)
+ call_template('actor_profile_block_button', ['actor' => $actor, 'user' => $user]); ?>
<?php if (!$actor->isLocal): ?>
<a class="material-symbols open-in-new" href="<?= $actor->homepage ?>"
title="<?= __('user.profile.openRemote') ?>" target="_blank"></a>