2015-10-13 04:56:05 -04:00
|
|
|
{{#if model.user_deleted}}
|
2014-12-08 16:35:49 -05:00
|
|
|
<button title="{{i18n 'admin.flags.agree_flag_restore_post_title'}}" {{action "agreeFlagRestorePost"}} class="btn"><i class="fa fa-thumbs-o-up"></i><i class="fa fa-eye"></i>{{i18n 'admin.flags.agree_flag_restore_post'}}</button>
|
2014-09-09 14:26:40 -04:00
|
|
|
{{else}}
|
2015-10-13 04:56:05 -04:00
|
|
|
{{#unless model.postHidden}}
|
2014-12-08 16:35:49 -05:00
|
|
|
<button title="{{i18n 'admin.flags.agree_flag_hide_post_title'}}" {{action "agreeFlagHidePost"}} class="btn"><i class="fa fa-thumbs-o-up"></i><i class="fa fa-eye-slash"></i>{{i18n 'admin.flags.agree_flag_hide_post'}}</button>
|
2014-09-09 14:26:40 -04:00
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
2014-12-08 16:35:49 -05:00
|
|
|
<button title="{{i18n 'admin.flags.agree_flag_title'}}" {{action "agreeFlagKeepPost"}} class="btn"><i class="fa fa-thumbs-o-up"></i>{{i18n 'admin.flags.agree_flag'}}</button>
|
2015-10-13 04:56:05 -04:00
|
|
|
{{#if model.canDeleteAsSpammer}}
|
2014-12-08 16:35:49 -05:00
|
|
|
<button title="{{i18n 'admin.flags.delete_spammer_title'}}" {{action "deleteSpammer" user}} class="btn btn-danger"><i class="fa fa-exclamation-triangle"></i>{{i18n 'admin.flags.delete_spammer'}}</button>
|
2014-08-04 16:48:04 -04:00
|
|
|
{{/if}}
|