Use account mentions as default text in replies
[bloat] / templates / thread.tmpl
1 {{template "header.tmpl"}}
2 <div class="page-title"> Thread </div>
3 {{template "navigation.tmpl"}}
4
5 {{range .Context.Ancestors}}
6 {{template "status.tmpl" .}}
7 {{end}}
8
9 {{template "status.tmpl" .Status}}
10 {{if .PostReply}}
11 <form class="timeline-post-form" action="/post" method="POST">
12         <input type="hidden" name="reply_to_id" value="{{.ReplyToID}}" />
13         <label for="post-content"> Reply to {{.Status.Account.DisplayName}} </label>
14         <br/>
15         <textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{.ReplyContent}}</textarea>
16         <br/>
17         <button type="submit"> Post </button>
18 </form>
19 {{end}}
20
21 {{range .Context.Descendants}}
22 {{template "status.tmpl" .}}
23 {{end}}
24
25 {{template "footer.tmpl"}}