Commit 0750aad3 authored by Ben Hayward's avatar Ben Hayward

wrong commit

1 merge request!443[Sprint/InterestingIguana](fix) Removed set explicit for user #1483
Pipeline #70345295 pending with stages
......@@ -39,11 +39,16 @@
<li class="mdl-menu__item" *ngIf="!asyncBlockInProgress && asyncBlock" (click)="unBlock()" i18n="@@COMMON__POST_MENU__UNBLOCK">Unblock user</li>
</ng-container>
<!-- ADMIN EDIT FLAGS -->
<ng-container *ngIf="options.indexOf('set-explicit') !== -1 && (entity.owner_guid == session.getLoggedInUser().guid || session.isAdmin())">
<li class="mdl-menu__item" [hidden]="entity.mature" (click)="setExplicit(true)" i18n="@@COMMON__POST_MENU__SET_AS_EXPLICIT">Set as Explicit</li>
<li class="mdl-menu__item" [hidden]="!entity.mature" (click)="setExplicit(false)" i18n="@@COMMON__POST_MENU__REMOVE_EXPLICIT">Remove Explicit</li>
<ng-container *ngIf="options.indexOf('set-explicit') !== -1 && session.isAdmin()">
<li class="mdl-menu__item m-postMenu__item--nsfw">
<m-nsfw-selector
service="editing"
[selected]="entity.nsfw"
(selected)="onNSFWSelected($event)"
>
</m-nsfw-selector>
</li>
</ng-container>
<ng-container *ngIf="options.indexOf('rating') !== -1 && session.isAdmin()">
<li class="mdl-menu__item" [hidden]="entity.rating === 1" (click)="setRating(1)" i18n="@@COMMON__POST_MENU__MARK_AS_SAFE">Mark as Safe</li>
<li class="mdl-menu__item" [hidden]="entity.rating === 2" (click)="setRating(2)" i18n="@@COMMON__POST_MENU__MARK_AS_OPEN">Mark as Open</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment