2019-08-14 10:39:04 +00:00
|
|
|
{{/** TODO: Temporary hack until we find a more granular way of doing this. Perhaps, a custom include function? **/}}
|
|
|
|
{{if .Header.Theme.BgAvatars}}
|
|
|
|
{{range .Posts}}
|
|
|
|
<div id="post-{{.ID}}" class="rowitem passive deletable_block editable_parent simple {{.ClassName}}" style="background-image:url({{.User.Avatar}}),url(/s/post-avatar-bg.jpg);background-position:0px {{if le .ContentLines 5}}-1{{end}}0px;">
|
|
|
|
<span class="editable_block user_content simple">{{.Body}}</span>
|
|
|
|
<span class="controls">
|
|
|
|
<a href="{{.User.Link}}" class="real_username username">{{.User.Name}}</a>
|
|
|
|
|
2019-08-20 22:32:10 +00:00
|
|
|
{{if .CanModify}}<a href="/user/convo/edit/submit/{{.ID}}?s={{$.CurrentUser.Session}}" class="mod_button" title="{{lang "profile_comments_edit_tooltip"}}" aria-label="{{lang "profile_comments_edit_aria"}}"><button class="username edit_item edit_label"></button></a>
|
2019-08-14 10:39:04 +00:00
|
|
|
|
|
|
|
<a href="/user/convo/delete/submit/{{.ID}}?s={{$.CurrentUser.Session}}" class="mod_button" title="{{lang "profile_comments_delete_tooltip"}}" aria-label="{{lang "profile_comments_delete_aria"}}"><button class="username delete_item delete_label"></button></a>{{end}}
|
|
|
|
|
|
|
|
<a class="mod_button" href="/report/submit/{{.ID}}?s={{$.CurrentUser.Session}}&type=convo-reply"><button class="username report_item flag_label" title="{{lang "profile_comments_report_tooltip"}}" aria-label="{{lang "profile_comments_report_aria"}}"></button></a>
|
|
|
|
|
|
|
|
{{if .User.Tag}}<a class="username hide_on_mobile user_tag" style="float:right;">{{.User.Tag}}</a>{{end}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
{{else}}
|
|
|
|
{{template "convo_row_alt.html" . }}
|
|
|
|
{{end}}
|