mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-19 04:14:40 +00:00
allow moderators to reset flags for a chat message when there's only one flag
This commit is contained in:
parent
42d1fd93f3
commit
5e105a0e45
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ script(type='text/ng-template', id='modals/abuse-flag.html')
|
|||
markdown(text="abuseObject.text")
|
||||
p!=env.t('abuseFlagModalBody', {firstLinkStart: "<a href='/static/community-guidelines' target='_blank'>", secondLinkStart: "<a href='/static/terms' target='_blank'>", linkEnd: "</a>"})
|
||||
.modal-footer
|
||||
button.pull-left.btn.btn-danger(ng-click='clearFlagCount(abuseObject, groupId)', ng-if='user.contributor.admin && abuseObject.flagCount >= 2')
|
||||
button.pull-left.btn.btn-danger(ng-click='clearFlagCount(abuseObject, groupId)', ng-if='user.contributor.admin && abuseObject.flagCount > 0')
|
||||
| Reset Flag Count
|
||||
button.btn.btn-primary(ng-click='$close()')=env.t('cancel')
|
||||
button.btn.btn-danger(ng-click='reportAbuse(user, abuseObject, groupId)')=env.t("abuseFlagModalButton")
|
||||
|
|
|
|||
Loading…
Reference in a new issue