aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note.php')
-rw-r--r--templates/note.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/note.php b/templates/note.php
index 736d5f9..81f7e38 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -25,7 +25,12 @@ if ($user != null) {
<div class="infoLine">
<a class="authorName"
href="/@/<?= htmlspecialchars($note->author->getFullHandle()) ?>"><?= htmlspecialchars($note->author->displayName) ?></a>
- <span class="authorHandle">@<?= htmlspecialchars($note->author->getFullHandle()) ?></span>
+ <span class="authorHandle">
+ <?php if (isset($note->author->pronouns) && trim($note->author->pronouns) != ''): ?>
+ <?= htmlspecialchars($note->author->pronouns) ?> &bullet;
+ <?php endif; ?>
+ @<?= htmlspecialchars($note->author->getFullHandle()) ?>
+ </span>
<a class="timestamp"
href="/@/<?= htmlspecialchars($note->author->getFullHandle()) ?>/note/<?= $note->id ?>">
<?= format_datetime($note->created, $prefs?->get('locale.timezone'))