aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
authorwinter2025-03-11 18:12:10 +0000
committerwinter2025-03-11 18:12:10 +0000
commit357697ef01f5d3bd0646a242eb0d34e293217fc4 (patch)
tree6ca9d847f49afcc7fa3c3a8815d188d6d04a3f9c /templates/note.php
parentdb29e3c45d9f6c815b077bdb48a6247be086ff4b (diff)
new fonts!!
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'))