Skip to content

Commit

Permalink
Topic invite not to show none level as it does not make sense to invi…
Browse files Browse the repository at this point in the history
…te a person with that level - citizenos/citizenos-fe#112
  • Loading branch information
tiblu committed Nov 21, 2019
1 parent 87a8a17 commit db24b03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/views/modals/topic_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,12 @@

<div class="dropdown">
<div ng-if="key === 'emails' || key ==='users'" class="dropdown_item" ng-repeat="level in TopicMemberUser.LEVELS">
<div class="item_name" ng-click="updateTopicMemberUserLevel(member, level)">
<div ng-if="level !== TopicMemberUser.LEVELS.none" class="item_name" ng-click="updateTopicMemberUserLevel(member, level)">
{{'TXT_TOPIC_LEVELS_' + level | uppercase | translate}}
</div>
</div>
<div ng-if="key ==='groups'" class="dropdown_item" ng-repeat="level in TopicMemberGroup.LEVELS">
<div class="item_name" ng-click="updateTopicMemberGroupLevel(member, level)">
<div ng-if="level !== TopicMemberUser.LEVELS.none" class="item_name" ng-click="updateTopicMemberGroupLevel(member, level)">
{{'TXT_TOPIC_LEVELS_' + level | uppercase | translate}}
</div>
</div>
Expand Down Expand Up @@ -358,12 +358,12 @@

<div class="dropdown">
<div ng-if="key === 'emails' || key ==='users'" class="dropdown_item" ng-repeat="level in TopicMemberUser.LEVELS">
<div class="item_name" ng-click="updateTopicMemberUserLevel(member, level)">
<div ng-if="level !== TopicMemberUser.LEVELS.none" class="item_name" ng-click="updateTopicMemberUserLevel(member, level)">
{{'TXT_TOPIC_LEVELS_' + level | uppercase | translate}}
</div>
</div>
<div ng-if="key ==='groups'" class="dropdown_item" ng-repeat="level in TopicMemberGroup.LEVELS">
<div class="item_name" ng-click="updateTopicMemberGroupLevel(member, level)">
<div ng-if="level !== TopicMemberUser.LEVELS.none" class="item_name" ng-click="updateTopicMemberGroupLevel(member, level)">
{{'TXT_TOPIC_LEVELS_' + level | uppercase | translate}}
</div>
</div>
Expand Down

0 comments on commit db24b03

Please sign in to comment.