mirror of https://github.com/TriliumNext/Notes
proper handling of deleted notes
parent
978575498c
commit
cb168218fb
@ -0,0 +1,20 @@
|
|||||||
|
import TypeWidget from "./type_widget.js";
|
||||||
|
|
||||||
|
const TPL = `
|
||||||
|
<div class="note-detail-deleted note-detail-printable">
|
||||||
|
<div style="padding: 100px;">
|
||||||
|
<div class="alert alert-warning" style="padding: 20px;">
|
||||||
|
This note has been deleted.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>`;
|
||||||
|
|
||||||
|
export default class DeletedTypeWidget extends TypeWidget {
|
||||||
|
static getType() { return "deleted"; }
|
||||||
|
|
||||||
|
doRender() {
|
||||||
|
this.$widget = $(TPL);
|
||||||
|
|
||||||
|
return this.$widget;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue