2019-08-14 10:39:04 +00:00
|
|
|
{{range .Posts}}
|
2020-04-02 22:24:32 +00:00
|
|
|
<div id="post-{{.ID}}"class="rowitem passive deletable_block editable_parent comment {{.ClassName}}">
|
2019-08-14 10:39:04 +00:00
|
|
|
<div class="topRow">
|
|
|
|
<div class="userbit">
|
2020-04-02 22:24:32 +00:00
|
|
|
<img src="{{.User.MicroAvatar}}"alt="Avatar"title="{{.User.Name}}'s Avatar"aria-hidden="true">
|
2019-08-14 10:39:04 +00:00
|
|
|
<span class="nameAndTitle">
|
2020-04-02 22:24:32 +00:00
|
|
|
<a href="{{.User.Link}}"class="real_username username">{{.User.Name}}</a>
|
|
|
|
{{if .User.Tag}}<a class="username hide_on_mobile user_tag"style="float:right;">{{.User.Tag}}</a>{{end}}
|
2019-08-14 10:39:04 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span class="controls">
|
2019-08-20 22:32:10 +00:00
|
|
|
{{if .CanModify}}
|
2020-04-02 22:24:32 +00:00
|
|
|
<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
|
|
|
|
2020-04-02 22:24:32 +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>
|
2019-08-14 10:39:04 +00:00
|
|
|
{{end}}
|
|
|
|
|
2020-04-02 22:24:32 +00:00
|
|
|
<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>
|
2019-08-14 10:39:04 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="content_column">
|
|
|
|
<span class="editable_block user_content">{{.Body}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="after_comment"></div>
|
|
|
|
{{end}}
|