2013-02-06 03:16:51 +08:00
|
|
|
<div class='admin-controls'>
|
|
|
|
<div class='span15'>
|
|
|
|
<ul class="nav nav-pills">
|
|
|
|
<li>{{#linkTo adminFlags.active}}{{i18n admin.flags.active}}{{/linkTo}}</li>
|
|
|
|
<li>{{#linkTo adminFlags.old}}{{i18n admin.flags.old}}{{/linkTo}}</li>
|
|
|
|
</ul>
|
2013-05-08 01:30:12 +08:00
|
|
|
</div>
|
2013-02-06 03:16:51 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class='admin-flags'>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class='user'></th>
|
|
|
|
<th class='excerpt'></th>
|
2013-02-17 11:40:24 +08:00
|
|
|
<th class='flaggers'>{{i18n admin.flags.flagged_by}}</th>
|
2013-02-06 03:16:51 +08:00
|
|
|
<th class='last-flagged'></th>
|
|
|
|
<th class='action'></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{#each content}}
|
|
|
|
<tr {{bindAttr class="hiddenClass"}}>
|
2013-05-08 01:30:12 +08:00
|
|
|
<td class='user'>{{#linkTo 'adminUser' user}}{{avatar user imageSize="small"}}{{/linkTo}}</td>
|
2013-03-23 18:24:04 +08:00
|
|
|
<td class='excerpt'>{{#if topicHidden}}<i title='{{i18n topic_statuses.invisible.help}}' class='icon icon-eye-close'></i> {{/if}}<h3><a href='{{unbound url}}'>{{title}}</a></h3><br>{{{excerpt}}}
|
2013-02-06 03:16:51 +08:00
|
|
|
</td>
|
2013-05-08 01:30:12 +08:00
|
|
|
<td class='flaggers'>{{#each flaggers}}{{#linkTo 'adminUser' this}}{{avatar this imageSize="small"}} {{/linkTo}}{{/each}}</td>
|
2013-02-06 03:16:51 +08:00
|
|
|
<td class='last-flagged'>{{date lastFlagged}}</td>
|
2013-05-08 01:30:12 +08:00
|
|
|
<td class='action'>
|
2013-05-21 01:42:26 +08:00
|
|
|
{{#if adminActiveFlagsView}}
|
2013-05-21 03:27:58 +08:00
|
|
|
<button title='{{i18n admin.flags.clear_title}}' class='btn' {{action clearFlags this}}>{{i18n admin.flags.clear}}</button>
|
|
|
|
<button title='{{i18n admin.flags.delete_title}}' class='btn' {{action deletePost this}}>{{i18n admin.flags.delete}}</button>
|
2013-02-06 03:16:51 +08:00
|
|
|
{{/if}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
{{#each messages}}
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td class='message'>
|
2013-05-09 15:37:34 +08:00
|
|
|
<div>{{#linkTo 'adminUser' user}}{{avatar user imageSize="small"}}{{/linkTo}} {{message}} <a href="{{unbound permalink}}">{{i18n admin.flags.view_message}}</a></div>
|
2013-02-06 03:16:51 +08:00
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|