aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/write_note_form.php
diff options
context:
space:
mode:
authorwinter2025-01-20 17:43:17 +0000
committerwinter2025-01-20 17:43:17 +0000
commit6b78446c1d5b76438d40bbe68aa0397de533e61a (patch)
treef2e06477b74e2b380b1922179e3cb16ca1420481 /templates/write_note_form.php
parent55433eeca50ff840cb0b660f8f9de44b2bc6825f (diff)
various avatar tweaks and profile above note form
Diffstat (limited to 'templates/write_note_form.php')
-rw-r--r--templates/write_note_form.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/write_note_form.php b/templates/write_note_form.php
index 2d50896..914c48b 100644
--- a/templates/write_note_form.php
+++ b/templates/write_note_form.php
@@ -1,5 +1,14 @@
<form id="writeNoteForm" action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML"
hx-disabled-elt="find button" _="on submit wait 1s then trigger update on #liveTimelineUpdater">
+ <div class="row miniProfile">
+ <a href="/@/<?= $actor->handle ?>">
+ <?php call_template('actor_avatar', ['actor' => $actor]); ?>
+ </a>
+ <div class="basicInfo">
+ <a class="displayName" href="/@/<?= $actor->handle ?>"><?= $actor->displayName ?></a>
+ <div class="handle">@<?= $actor->handle ?></div>
+ </div>
+ </div>
<div class="row">
<label for="noteContent"><?= __('writeNote.label') ?></label>
<textarea name="content" id="noteContent" required autocomplete="off"></textarea>