Skip to content

Commit

Permalink
Task-65373: Language version option
Browse files Browse the repository at this point in the history
Task-65423: Add a language
  • Loading branch information
mkrout authored and exo-swf committed Oct 5, 2023
1 parent 7bc44ce commit 56c595c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions notes-webapp/src/main/webapp/skin/less/notes/notes.less
Original file line number Diff line number Diff line change
Expand Up @@ -1163,4 +1163,9 @@ ul.note-manual-child {
}


.right-separator {
border-right: solid;
}



Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,13 @@ export default {
'note.title'() {
if (this.note.title !== this.actualNote.title ) {
this.autoSave();
this.hideTranslations();
}
},
'note.content'() {
if (this.note.content !== this.actualNote.content) {
this.autoSave();
this.hideTranslations();
}
},
},
Expand Down Expand Up @@ -927,6 +929,10 @@ export default {
this.showTranslationBar=true;
this.$refs.translationsEditBar.show();
},
hideTranslations() {
this.showTranslationBar=false;
this.$refs.translationsEditBar.hide();
},
isDefaultContent(noteContent) {
const div = document.createElement('div');
div.innerHTML = noteContent;
Expand Down

0 comments on commit 56c595c

Please sign in to comment.