Browse Source

Show word count error messages

James Allen 10 năm trước cách đây
mục cha
commit
a45aa7b80e
1 tập tin đã thay đổi với 4 bổ sung và 0 xóa
  1. 4 0
      services/web/app/views/project/editor/left-menu.jade

+ 4 - 0
services/web/app/views/project/editor/left-menu.jade

@@ -197,6 +197,10 @@ script(type='text/ng-template', id='wordCountModalTemplate')
 			)
 		div(ng-if="!status.loading")
 			.container-fluid
+				.row(ng-show='data.messages.length > 0')
+					.col-xs-12
+						.alert.alert-danger
+							p {{data.messages}}
 				.row
 					.col-xs-4
 						.pull-right #{translate("total_words")} :