Add missing permission check for recommendation extension field.

This commit is contained in:
Emanuel Schütze 2018-04-13 09:42:07 +02:00
parent bc7ae87591
commit cdea91c780

View File

@ -232,8 +232,8 @@
<div class="label" ng-if="motion.recommendation" ng-class="'label-'+motion.recommendation.css_class">
{{ motion.getRecommendationName() }}
</div>
<div class="input-group spacer"
ng-if="motion.recommendation.show_recommendation_extension_field">
<div os-perms="motions.can_manage" class="input-group spacer"
ng-show="motion.recommendation.show_recommendation_extension_field">
<label class="sr-only" for="recommendationExtensionField">
{{ commentsFields[commentFieldForRecommendationId].name }}
</label>