diff --git a/src/lib/components/viewer/Note.svelte b/src/lib/components/viewer/Note.svelte index cdca8702..7ef3236e 100644 --- a/src/lib/components/viewer/Note.svelte +++ b/src/lib/components/viewer/Note.svelte @@ -84,6 +84,7 @@ $: rendering = render(canvas, doc, $pdf); // avoid re-using the same canvas $: edit_link = getViewerHref({ document: doc, note, mode: "annotating" }); $: canEdit = note.edit_access && !embed; + $: note_url = getViewerHref({ document: doc, note }); async function render( canvas: HTMLCanvasElement, @@ -213,7 +214,12 @@ {/if}
-

{note.title}

+

+ + {note.title} + {#if embed}({$_("documents.pageAbbrev")} {page_number}){/if} + +

{#if user}

{$_("annotation.by", { values: { name: getUserName(user) } })}