Skip to content

Commit

Permalink
fix: remove inconsistencies between protected note label and date
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Feb 22, 2021
1 parent 944d5db commit 6a3e070
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/assets/javascripts/views/notes/notes-view.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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]}}
Expand Down

0 comments on commit 6a3e070

Please sign in to comment.