forked from OpenUserJS/OpenUserJS.org
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuserUserToolsPanel.html
More file actions
21 lines (21 loc) · 873 Bytes
/
userUserToolsPanel.html
File metadata and controls
21 lines (21 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{#canFlag}}
<div class="panel panel-default">
<div class="panel-body">
<ul class="nav nav-pills nav-justified">
<li>
<div class="text-center">
{{#flagged}}
<form action="{{{user.userFlagPageUrl}}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="flag" value="false">
<button class="btn btn-link" type="submit" class="{{^canFlag}} disabled{{/canFlag}}" title="Unflag from moderation review"><i class="fa fa-fw fa-flag"></i> Unflag</button>
</form>
{{/flagged}}
{{^flagged}}
<a rel="nofollow" href="#" data-toggle="modal" data-target="#flagUserModal" class="{{^canFlag}}disabled{{/canFlag}}" title="Flag for moderation review"><i class="fa fa-flag-o"></i> Flag</a>
{{/flagged}}
</div>
</li>
</ul>
</div>
</div>
{{/canFlag}}