Browse Source

Show word count error messages

James Allen 10 years ago
parent
commit
a45aa7b80e
1 changed files with 4 additions and 0 deletions
  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")
 		div(ng-if="!status.loading")
 			.container-fluid
 			.container-fluid
+				.row(ng-show='data.messages.length > 0')
+					.col-xs-12
+						.alert.alert-danger
+							p {{data.messages}}
 				.row
 				.row
 					.col-xs-4
 					.col-xs-4
 						.pull-right #{translate("total_words")} :
 						.pull-right #{translate("total_words")} :