github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/convo_row_alt.html (about)

     1  {{range .Posts}}
     2  <div id="post-{{.ID}}"class="rowitem passive deletable_block editable_parent comment {{.ClassName}}">
     3  	<div class="topRow">
     4  		<div class="userbit">
     5  			<img src="{{.User.MicroAvatar}}"alt="Avatar"title="{{.User.Name}}'s Avatar"aria-hidden="true">
     6  			<span class="nameAndTitle">
     7  				<a href="{{.User.Link}}"class="real_username username">{{.User.Name}}</a>
     8  				{{if .User.Tag}}<a class="username hide_on_mobile user_tag"style="float:right;">{{.User.Tag}}</a>{{end}}
     9  			</span>
    10  		</div>
    11  		<span class="controls">
    12  			{{if .CanModify}}
    13  			<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>
    14  			
    15  			<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>
    16  			{{end}}
    17  
    18  			<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>
    19  		</span>
    20  	</div>
    21  	<div class="content_column">
    22  		<span class="editable_block user_content">{{.Body}}</span>
    23  	</div>
    24  </div>
    25  <div class="after_comment"></div>
    26  {{end}}