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
8f5d8049d0
commit
902e779a84
@ -17,14 +17,18 @@
|
|||||||
|
|
||||||
<span class="subtext" v-if="note.shareUsername">
|
<span class="subtext" v-if="note.shareUsername">
|
||||||
Shared by {{ 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>
|
</span>
|
||||||
|
|
||||||
<span class="subtext" v-if="note.shared == 2">
|
<span class="subtext" v-if="note.shared == 2">
|
||||||
You Shared
|
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
|
Updated
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user