2019-02-10 05:52:26 +00:00
|
|
|
{{range .ItemList}}
|
2019-07-28 00:19:53 +00:00
|
|
|
<div id="post-{{.ID}}" class="rowitem passive deletable_block editable_parent comment {{.ClassName}}">
|
|
|
|
<div class="topRow">
|
|
|
|
<div class="userbit">
|
|
|
|
<img src="{{.MicroAvatar}}" alt="Avatar" title="{{.CreatedByName}}'s Avatar" aria-hidden="true" />
|
|
|
|
<span class="nameAndTitle">
|
|
|
|
<a href="{{.UserLink}}" class="real_username username">{{.CreatedByName}}</a>
|
|
|
|
{{if .Tag}}<a class="username hide_on_mobile user_tag" style="float:right;">{{.Tag}}</a>{{end}}
|
2019-02-10 05:52:26 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
2019-07-28 00:19:53 +00:00
|
|
|
<span class="controls">
|
|
|
|
{{if $.CurrentUser.IsMod}}
|
|
|
|
<a href="/profile/reply/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>
|
|
|
|
<a href="/profile/reply/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=user-reply"><button class="username report_item flag_label" title="{{lang "profile_comments_report_tooltip"}}" aria-label="{{lang "profile_comments_report_aria"}}"></button></a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="content_column">
|
|
|
|
<span class="editable_block user_content">{{.ContentHtml}}</span>
|
2019-02-10 05:52:26 +00:00
|
|
|
</div>
|
2019-07-28 00:19:53 +00:00
|
|
|
</div>
|
|
|
|
<div class="after_comment"></div>
|
|
|
|
{{end}}
|