2019-07-26 23:29:42 +00:00
< div class = "colstack_item colstack_head rowhead" >
< div class = "rowitem" >
< h1 > {{lang "convos_head"}}< / h1 >
2020-02-12 03:08:02 +00:00
{{if .CurrentUser.Perms.UseConvos or .CurrentUser.Perms.UseConvosIfWithMod}}< 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 >
2020-02-12 03:08:02 +00:00
{{if .CurrentUser.Perms.UseConvos or .CurrentUser.Perms.UseConvosIfWithMod}}
2019-09-01 01:37:04 +00:00
< 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 >
2020-02-12 09:11:27 +00:00
< div class = "formitem" > < input name = "recp" type = "text" / > < / div >
2019-09-01 01:37:04 +00:00
< / 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" >
2020-03-22 02:37:32 +00:00
{{if .OneOnOne}}{{range .ShortUsers}}< img class = "bgsub" src = "{{.MicroAvatar}}" height = 48 width = 48 > {{end}}{{end}}
2020-02-12 09:11:27 +00:00
< a href = "/user/convo/{{.ID}}" > {{range .ShortUsers}}< 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-10-07 21:22:33 +00:00
< / div > {{else}}
< div class = "rowitem" > {{lang "convos_none"}}< / div >
{{end}}
2019-07-26 23:29:42 +00:00
< / div >
{{template "paginator.html" . }}