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
743 B

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