aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note.php
diff options
context:
space:
mode:
authorwinter2024-12-24 15:32:56 +0000
committerwinter2024-12-24 15:32:56 +0000
commitd5a57276eb27e215dd0b1bd5eb67ac26acc9575b (patch)
tree0cb3a14fa9a82d2438a7c12838f04ea12e02a9fa /templates/note.php
parent01b7c47c68b8b3c5a9fd9137b067b34b566b951d (diff)
more stuff and things
Diffstat (limited to 'templates/note.php')
-rw-r--r--templates/note.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/note.php b/templates/note.php
index 6e718f5..8887afb 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -6,7 +6,7 @@
<div class="infoLine">
<span class="authorName"><?= $note->author->displayName ?></span>
<span class="authorHandle">@<?= $note->author->getFullHandle() ?></span>
- <span class="timestamp">
+ <a class="timestamp" href="/@/<?= $note->author->getFullHandle() ?>/note/<?= $note->id ?>">
<?=
$note->created->format('Y-m-d \a\t H:i')
. (isset($note->modified) && $note->modified != $note->created
@@ -14,7 +14,7 @@
: ''
)
?>
- </span>
+ </a>
</div>
<div class="content">
<?= $note->getFormattedContent('text/html') ?? htmlspecialchars($note->plainContent) ?>