Added new status to shared notes
* Shared notes can be new or updated * New - Note has never been opened * Updated - Shared note was read but modified by other user
This commit is contained in:
parent
f0b6d7b85e
commit
99b69c234f
@ -17,14 +17,18 @@
|
||||
|
||||
<span class="subtext" v-if="note.shareUsername">
|
||||
Shared by {{ note.shareUsername }}
|
||||
<span v-if="note.updated > note.opened && !beenClicked" class="ui tiny green compact right floated button">
|
||||
Unread
|
||||
|
||||
<span v-if="note.opened == null && !beenClicked" class="ui tiny green compact right floated button">
|
||||
New
|
||||
</span>
|
||||
<span v-else-if="note.updated > note.opened && !beenClicked" class="ui tiny green compact right floated basic button">
|
||||
Updated
|
||||
</span>
|
||||
</span>
|
||||
|
||||
<span class="subtext" v-if="note.shared == 2">
|
||||
You Shared
|
||||
<span v-if="note.updated > note.opened && !beenClicked" class="ui tiny green compact right floated button">
|
||||
<span v-if="note.updated > note.opened && !beenClicked" class="ui tiny green compact right floated basic button">
|
||||
Updated
|
||||
</span>
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user