2016-12-07 09:34:09 +00:00
|
|
|
{{template "header.html" . }}
|
2017-05-29 14:52:37 +00:00
|
|
|
|
2017-07-29 10:36:39 +00:00
|
|
|
<div id="profile_left_lane" class="colstack_left">
|
|
|
|
<!--<div class="colstack_item colstack_head rowhead">
|
|
|
|
<div class="rowitem"><a>Profile</a></div>
|
|
|
|
</div>-->
|
|
|
|
<div id="profile_left_pane" class="rowmenu">
|
|
|
|
<div class="rowitem avatarRow" style="padding: 0;">
|
|
|
|
<img src="{{.ProfileOwner.Avatar}}" class="avatar" />
|
|
|
|
</div>
|
|
|
|
<div class="rowitem">
|
|
|
|
<span class="profileName">{{.ProfileOwner.Name}}</span>{{if .ProfileOwner.Tag}}<span class="username" style="float: right;font-weight: normal;">{{.ProfileOwner.Tag}}</span>{{end}}
|
|
|
|
</div>
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a class="profile_menu_item">Add Friend</a>
|
|
|
|
</div>
|
|
|
|
{{if (.CurrentUser.Is_Super_Mod) and not (.ProfileOwner.Is_Super_Mod) }}<div class="rowitem passive">
|
|
|
|
{{if .ProfileOwner.Is_Banned }}<a href="/users/unban/{{.ProfileOwner.ID}}?session={{.CurrentUser.Session}}" class="profile_menu_item">Unban</a>
|
2017-06-05 11:57:27 +00:00
|
|
|
{{else}}<a href="/users/ban/{{.ProfileOwner.ID}}?session={{.CurrentUser.Session}}" class="profile_menu_item">Ban</a>{{end}}
|
2017-07-29 10:36:39 +00:00
|
|
|
</div>{{end}}
|
|
|
|
<div class="rowitem passive">
|
|
|
|
<a href="/report/submit/{{.ProfileOwner.ID}}?session={{.CurrentUser.Session}}&type=user" class="profile_menu_item report_item">Report</a>
|
|
|
|
</div>
|
2016-12-07 09:34:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
|
2017-07-29 10:36:39 +00:00
|
|
|
<div id="profile_right_lane" class="colstack_right">
|
|
|
|
<div class="colstack_item colstack_head">
|
|
|
|
<div class="rowitem"><a>Comments</a></div>
|
|
|
|
</div>
|
|
|
|
<div id="profile_comments" class="colstack_item" style="overflow: hidden;border-top: none;">{{range .ItemList}}
|
|
|
|
<div class="rowitem passive deletable_block editable_parent simple {{.ClassName}}" style="{{if .Avatar}}background-image: url({{.Avatar}}), url(/static/white-dot.jpg);background-position: 0px {{if le .ContentLines 5}}-1{{end}}0px;background-repeat: no-repeat, repeat-y;background-size: 128px;padding-left: 136px;{{end}}">
|
|
|
|
<span class="editable_block user_content simple">{{.ContentHtml}}</span><br /><br />
|
|
|
|
<a href="/user/{{.UserSlug}}.{{.CreatedBy}}" class="real_username username">{{.CreatedByName}}</a>
|
2017-05-29 14:52:37 +00:00
|
|
|
|
2017-07-29 10:36:39 +00:00
|
|
|
{{if $.CurrentUser.Is_Mod}}<a href="/profile/reply/edit/submit/{{.ID}}" class="mod_button" title="Edit Item"><button class="username edit_item edit_label"></button></a>
|
2017-05-29 14:52:37 +00:00
|
|
|
|
2017-07-29 10:36:39 +00:00
|
|
|
<a href="/profile/reply/delete/submit/{{.ID}}" class="mod_button" title="Delete Item"><button class="username delete_item trash_label"></button></a>{{end}}
|
2017-05-29 14:52:37 +00:00
|
|
|
|
2017-07-29 10:36:39 +00:00
|
|
|
<a class="mod_button" href="/report/submit/{{.ID}}?session={{$.CurrentUser.Session}}&type=user-reply"><button class="username report_item flag_label"></button></a>
|
2017-05-29 14:52:37 +00:00
|
|
|
|
2017-07-29 10:36:39 +00:00
|
|
|
{{if .Tag}}<a class="username hide_on_mobile user_tag" style="float: right;">{{.Tag}}</a>{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
|
2016-12-07 09:34:09 +00:00
|
|
|
{{if not .CurrentUser.Is_Banned}}
|
2017-07-29 10:36:39 +00:00
|
|
|
<form action="/profile/reply/create/" method="post">
|
|
|
|
<input name="uid" value='{{.ProfileOwner.ID}}' type="hidden" />
|
|
|
|
<div class="colstack_item topic_reply_form" style="border-top: none;">
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem"><textarea name="reply-content" placeholder="Insert reply here"></textarea></div>
|
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem"><button name="reply-button" class="formbutton">Create Reply</button></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2016-12-07 09:34:09 +00:00
|
|
|
{{end}}
|
2017-01-08 16:02:19 +00:00
|
|
|
</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
|
|
|
|
{{template "footer.html" . }}
|