fix(forums): Prevent adding users as moderators to the operOnly forums

#20
This commit is contained in:
OldHawk
2017-12-06 16:33:29 +08:00
parent c0063d7e01
commit 7e3674f8f8

View File

@@ -19,7 +19,7 @@
<td>
<h4>{{f.name}} <span class="badge badge_mt" ng-show="f.readOnly">R</span>
<small>[<a href="#" ng-click="vm.popupEditForum($event, f);">{{'FORUMS.LINK_EDIT' | translate}}</a>]</small>
<small>[<a href="#"
<small ng-if="!f.operOnly">[<a href="#"
uib-popover-template="vm.addModeratorPopover.templateUrl"
popover-append-to-body="true"
popover-title="{{vm.addModeratorPopover.title | translate}}"