fix: remove inconsistencies between protected note label and date

This commit is contained in:
Baptiste Grob
2021-02-22 17:41:45 +01:00
parent 944d5db9b7
commit 6a3e070ea6

View File

@@ -145,10 +145,10 @@
) {{note.text}}
.bottom-info.faded(ng-show='!self.state.hideDate || note.protected')
span(ng-if="note.protected")
| Protected{{self.state.hideDate ? '' : ' '}}
span(ng-show="self.state.sortBy == 'userModifiedDate'")
| Protected{{self.state.hideDate ? '' : ' '}}
span(ng-show="!self.state.hideDate && self.state.sortBy == 'userModifiedDate'")
| Modified {{note.updatedAtString || 'Now'}}
span(ng-show="self.state.sortBy != 'userModifiedDate'")
span(ng-show="!self.state.hideDate && self.state.sortBy != 'userModifiedDate'")
| {{note.createdAtString || 'Now'}}
.tags-string(ng-if='!self.state.hideTags && self.state.renderedNotesTags[$index]')
.faded {{self.state.renderedNotesTags[$index]}}