planiverse

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

commit 6c90149aa8a1e56481203d8a0dbcb151e70b698c
parent 07eab599b1a197f27747a8f703a57dab64e028c5
Author: St John Karp <contact@stjo.hn>
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() }}