Explorar o código

Add review panel unsupported message

Alasdair Smith %!s(int64=8) %!d(string=hai) anos
pai
achega
00c089448e

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

@@ -235,6 +235,9 @@
 			i.fa.fa-list
 			span.rp-nav-label #{translate("overview")}
 
+	.rp-unsupported-msg
+		p UNSUPPORTED
+
 
 script(type='text/ng-template', id='changeEntryTemplate')
 	div

+ 9 - 0
services/web/public/stylesheets/app/editor/review-panel.less

@@ -846,6 +846,15 @@
 		}
 	}
 
+.rp-unsupported-msg {
+	display: none;
+	.rp-unsupported & {
+		display: flex;
+		flex-direction: column;
+		width: @review-panel-width;
+	}
+}
+
 .ace-editor-wrapper {
 	.track-changes-marker-callout {
 		border-radius: 0;