aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note.php')
-rw-r--r--templates/note.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/note.php b/templates/note.php
index 94edf2b..759a7c7 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -30,11 +30,10 @@ $pathToSelf = '/@/' . $note->author->getFullHandle() . '/note/' . $note->id;
<div class="infoLine">
<a class="authorName"
href="/@/<?= htmlspecialchars($note->author->getFullHandle()) ?>"><?= htmlspecialchars($note->author->displayName) ?></a>
- <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 class="authorPronouns">
+ <?php if (isset($note->author->pronouns) && trim($note->author->pronouns) != '') {
+ echo htmlspecialchars($note->author->pronouns);
+ } ?>
</span>
<a class="timestamp" href="<?= htmlspecialchars($pathToSelf) ?>">
<?= format_datetime($note->created, $prefs?->get('locale.timezone'))