|
|
@ -48,24 +48,17 @@
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<form role="form" id="attributes">
|
|
|
|
<form role="form" id="attributes">
|
|
|
|
<div class="form-group row">
|
|
|
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
|
|
|
<h2 class="h4">[[flags:reporter]]</h2>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
{buildAvatar(reporter, "sm", false, "media-object")}
|
|
|
|
|
|
|
|
<a href="{config.relative_path}/user/{reporter.userslug}">{reporter.username}</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-6">
|
|
|
|
|
|
|
|
<h2 class="h4">[[flags:reported-at]]</h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
{datetimeISO}
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<h2 class="h4">[[flags:description]]</h2>
|
|
|
|
<h2 class="h4">[[flags:reports]]</h2>
|
|
|
|
<blockquote>{description}</blockquote>
|
|
|
|
<ul class="list-group" component="flag/reports">
|
|
|
|
|
|
|
|
{{{ each reports }}}
|
|
|
|
|
|
|
|
<li class="list-group-item">
|
|
|
|
|
|
|
|
<a href="{config.relative_path}/user/{reporter.userslug}">{buildAvatar(./reporter, "sm", false)}</a>
|
|
|
|
|
|
|
|
– <span class="timeago" title="{./timestampISO}"></span>
|
|
|
|
|
|
|
|
<blockquote><em>{./value}</em></blockquote>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{{ end }}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<h2 class="h4" for="state">[[flags:state]]</h2>
|
|
|
|
<h2 class="h4" for="state">[[flags:state]]</h2>
|
|
|
@ -137,10 +130,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
{{{ if type_bool.post }}}
|
|
|
|
{{{ if type_bool.post }}}
|
|
|
|
{{{ if !target.deleted}}}
|
|
|
|
{{{ if !target.deleted}}}
|
|
|
|
<a class="btn btn-danger btn-block" href="#" data-action="delete-post">[[flags:delete-post]]</a>
|
|
|
|
<a class="btn btn-danger btn-block" href="#" data-action="delete-post"><i class="fa fa-trash"></i> [[flags:delete-post]]</a>
|
|
|
|
{{{ else }}}
|
|
|
|
{{{ else }}}
|
|
|
|
<a class="btn btn-danger btn-block" href="#" data-action="purge-post">[[flags:purge-post]]</a>
|
|
|
|
<a class="btn btn-danger btn-block" href="#" data-action="purge-post"><i class="fa fa-trash"></i> [[flags:purge-post]]</a>
|
|
|
|
<a class="btn btn-success btn-block" href="#" data-action="restore-post">[[flags:restore-post]]</a>
|
|
|
|
<a class="btn btn-success btn-block" href="#" data-action="restore-post"><i class="fa fa-reply"></i><i class="fa fa-trash"></i> [[flags:restore-post]]</a>
|
|
|
|
{{{ end }}}
|
|
|
|
{{{ end }}}
|
|
|
|
{{{ end }}}
|
|
|
|
{{{ end }}}
|
|
|
|
|
|
|
|
|
|
|
@ -165,18 +158,6 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{{ end }}}
|
|
|
|
{{{ end }}}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="btn-group btn-block">
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-default btn-block dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
|
|
|
|
<i class="fa fa-user"></i>
|
|
|
|
|
|
|
|
[[flags:reporter]]
|
|
|
|
|
|
|
|
<span class="caret"></span>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
|
|
|
|
<li><a href="{config.relative_path}/uid/{reporter.uid}">[[flags:view-profile]]</a></li>
|
|
|
|
|
|
|
|
<li><a href="#" data-chat="{reporter.uid}">[[flags:start-new-chat]]</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="h4">[[flags:history]]</h2>
|
|
|
|
<h2 class="h4">[[flags:history]]</h2>
|
|
|
|