2019-07-26 23:29:42 +00:00
|
|
|
<div class="colstack_item colstack_head rowhead">
|
|
|
|
<div class="rowitem">
|
|
|
|
<h1>{{lang "convos_head"}}</h1>
|
2019-09-01 01:58:30 +00:00
|
|
|
{{if not .CurrentUser.IsBanned}}<h2><a class="create_convo_link" href="/user/convos/create/">{{lang "convos_create"}}</a></h2>{{end}}
|
2019-07-26 23:29:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-01 01:37:04 +00:00
|
|
|
{{if not .CurrentUser.IsBanned}}
|
|
|
|
<div class="colstack_item the_form convo_create_form auto_hide">
|
|
|
|
<form action="/user/convos/create/submit/?s={{.CurrentUser.Session}}" method="post">
|
|
|
|
<div class="formrow real_first_child">
|
2019-09-01 01:58:30 +00:00
|
|
|
<div class="formitem formlabel"><a>{{lang "create_convo_recp"}}</a></div>
|
2019-09-01 01:37:04 +00:00
|
|
|
<div class="formitem"><input name="recp" type="text" /></div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem"><textarea name="body"></textarea></div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem">
|
2019-09-01 01:58:30 +00:00
|
|
|
<button name="panel-button" class="formbutton">{{lang "create_convo_button"}}</button>
|
2019-09-01 01:37:04 +00:00
|
|
|
<button class="formbutton close_form">{{lang "quick_topic.cancel_button"}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2019-09-01 01:58:30 +00:00
|
|
|
<div class="colstack_item convos_list rowlist">
|
2019-07-26 23:29:42 +00:00
|
|
|
{{range .Convos}}
|
|
|
|
<div class="rowitem">
|
|
|
|
<span class="to_left">
|
2019-08-28 06:47:54 +00:00
|
|
|
<a href="/user/convo/{{.ID}}">{{range .Users}}<span class="convos_item_user">{{.Name}}</span> {{end}}</a></span></a>
|
2019-07-26 23:29:42 +00:00
|
|
|
</span>
|
|
|
|
<span title="{{abstime .LastReplyAt}}" class="to_right">{{reltime .LastReplyAt}}</span>
|
2019-09-29 04:56:39 +00:00
|
|
|
<div style="clear:both;"></div>
|
2019-07-26 23:29:42 +00:00
|
|
|
</div>{{end}}
|
|
|
|
</div>
|
|
|
|
{{template "paginator.html" . }}
|