From b6aed7f3ec46eb35ca8d573c1586004dd448d6d3 Mon Sep 17 00:00:00 2001 From: Yuri Baburov Date: Fri, 5 Jun 2020 05:45:59 +0700 Subject: [PATCH] Show annotation verification status with thumbs up icon on the left side view. --- app/server/static/components/annotation.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/server/static/components/annotation.pug b/app/server/static/components/annotation.pug index a3aaacf8..d8ae4b73 100644 --- a/app/server/static/components/annotation.pug +++ b/app/server/static/components/annotation.pug @@ -73,7 +73,8 @@ div.columns(v-cloak="") href="#" ) span.icon - i.fa.fa-check(v-show="annotations[index] && annotations[index].length") + i.fa.fa-thumbs-up(v-show="annotations[index] && docs[index].annotation_approver") + i.fa.fa-check(v-show="annotations[index] && annotations[index].length && !docs[index].annotation_approver") span.name {{ doc.text.slice(0, 60) }}... div.column.is-7.is-offset-1.message.hero.is-fullheight#message-pane