If you're able to remove the comment you shouldn't be able to report it
This commit is contained in:
parent
23d0890bdc
commit
6ff2141503
1 changed files with 4 additions and 5 deletions
|
|
@ -7,15 +7,14 @@
|
|||
|
||||
<div class="bd">
|
||||
<div class="controls">
|
||||
{{#unless authorIsCurrentUser}}
|
||||
<a href="#" data-type="comment" class="comment_report" title="{{t "report.name"}}">
|
||||
<div class="icons-report"/>
|
||||
</a>
|
||||
{{/unless}}
|
||||
{{#if canRemove}}
|
||||
<a href="#" class="delete comment_delete" title="{{t "delete"}}">
|
||||
<div alt="Deletelabel" class="icons-deletelabel" />
|
||||
<a/>
|
||||
{{else}}
|
||||
<a href="#" data-type="comment" class="comment_report" title="{{t "report.name"}}">
|
||||
<div class="icons-report"/>
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue