planiverse

A minimalist, no-JS front-end for Mastodon.
git clone https://git.stjo.hn/planiverse
Log | Files | Refs | README | LICENSE

commit 7d68f883ea8e24832d3d4f7591ccef9693c39c87
parent 79800b3cc931295353f838eac387636ba2613a4f
Author: St John Karp <stjohn@fuzzjunket.com>
Date:   Sat, 25 Aug 2018 09:53:40 -0700

Prepopulate mentions in replies

When posting a reply, pre-populate the account to which you're
replying, plus any mentions.

Diffstat:
Mresources/views/show_status.blade.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/views/show_status.blade.php b/resources/views/show_status.blade.php @@ -21,7 +21,7 @@ @if ($logged_in) <form method="post" action="/timeline/home"> <input type="text" name="spoiler_text" placeholder="Spoiler/Warning" /> - <textarea rows="4" name="status" placeholder="Reply" required autofocus></textarea> + <textarea rows="4" name="status" placeholder="Reply" required autofocus>{{ $status['account']['acct'] }} @foreach ($status['mentions'] as $mention){{ $mention['acct'] }} @endforeach</textarea> <input type="submit" value="Post" /> <input type="hidden" name="in_reply_to_id" value="{{ $status['id'] }}" /> {{ csrf_field() }}