Encrypted Notes Alpha!

fixes #28
This commit is contained in:
Max G
2020-03-13 23:34:32 +00:00
parent 3ed26bcc03
commit 2a379f8a4e
13 changed files with 547 additions and 60 deletions

View File

@@ -26,7 +26,7 @@
</span>
</span>
<span v-if="note.title == '' && note.subtext == ''">
<span v-if="note.title == '' && note.subtext == '' && note.encrypted == 0">
Empty Note
</span>
@@ -37,8 +37,7 @@
<!-- Title display -->
<span v-if="note.title.length > 0"
data-test-id="title"
class="big-text"
v-html="note.title"></span>
class="big-text"><p>{{ note.title }}</p></span>
<!-- Sub text display -->
<span v-if="note.subtext.length > 0 && !isShowingSearchResults()"
@@ -46,6 +45,12 @@
class="small-text"
v-html="note.subtext"></span>
<p v-if="note.encrypted == 1">
<i class="green lock icon"></i>
Locked
</p>
<!-- Display highlights from solr results -->
<span v-if="note.note_highlights.length > 0" class="term-usage">
<span