OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/public/templates/components/activity_comment.html

21 lines
807 B

<div class="activity-comment" ng-if="canAddComment">
<form name="commentForm">
<label for="add-comment-text" class="hidden-for-sighted">
{{ $parent.title }}
</label>
<textarea id="add-comment-text"
class="add-comment-text"
name="add_comment_text"
ng-model="$parent.activity.comment"
required
placeholder="{{ $parent.title }}"
ng-disabled="$parent.processingComment"
data-wp_autocomplete_url="{{ $parent.autocompletePath }}">
</textarea>
<button class="button"
ng-click="$parent.createComment()"
ng-disabled="commentForm.$invalid || $parent.processingComment">
<i class="icon-yes icon-left"></i>{{ $parent.buttonTitle }}
</button>
</form>
</div>