gosora/templates/convo.html
Azareal ae2a4809ba carry over the recipient when creating a convo via profile
hide the convo reply form when we don't have permission to create a reply
2020-02-11 17:01:13 +10:00

24 lines
973 B
HTML

<div class="colstack_item colstack_head rowhead">
<div class="rowitem">
<h1>{{lang "convo_head"}}</h1>
</div>
</div>
<div class="colstack_item parti">
<div class="rowitem">
<div>{{lang "convo_users"}}:&nbsp;</div>
{{range .Users}}<div class="parti_user"><a href="{{.Link}}">{{.Name}}</a></div>&nbsp;{{end}}
</div>
</div>
<div class="colstack_item convo_row_box">{{template "convo_row.html" .}}</div>
{{if .CanReply}}
<form action="/user/convo/create/submit/{{.Convo.ID}}?s={{.CurrentUser.Session}}" method="post">
<div class="colstack_item topic_reply_form" style="border-top:none;">
<div class="formrow">
<div class="formitem"><textarea class="input_content" name="content" placeholder="{{lang "profile.comments_form_content"}}"></textarea></div>
</div>
<div class="formrow quick_button_row">
<div class="formitem"><button name="reply-button" class="formbutton">{{lang "profile.comments_form_button"}}</button></div>
</div>
</div>
</form>
{{end}}