Browse Source

Merge pull request #818 from buriy/show-approved-annotations

Show  thumbs up icon for doc approved status on the left side view.
pull/821/head
Hiroki Nakayama 4 years ago
committed by GitHub
parent
commit
f444ab2ab7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. 3
      app/server/static/components/annotation.pug

3
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

Loading…
Cancel
Save