Просмотр исходного кода

Add tooltip to add comment indicator

James Allen 10 лет назад
Родитель
Сommit
6ea61472ec
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      services/web/app/views/project/editor/review-panel.jade

+ 3 - 0
services/web/app/views/project/editor/review-panel.jade

@@ -176,6 +176,9 @@ script(type='text/ng-template', id='addCommentEntryTemplate')
 		.rp-entry-indicator(
 		.rp-entry-indicator(
 			ng-if="!commentState.adding"
 			ng-if="!commentState.adding"
 			ng-click="startNewComment(); onIndicatorClick();"
 			ng-click="startNewComment(); onIndicatorClick();"
+			tooltip="Add a comment"
+			tooltip-placement="right"
+			tooltip-append-to-body="true"
 		)
 		)
 			i.fa.fa-commenting
 			i.fa.fa-commenting
 		.rp-entry.rp-entry-add-comment(
 		.rp-entry.rp-entry-add-comment(