diff --git a/frontend/src/lib/components/DocumentTopBar.svelte b/frontend/src/lib/components/DocumentTopBar.svelte index c0c7da65..b0676040 100644 --- a/frontend/src/lib/components/DocumentTopBar.svelte +++ b/frontend/src/lib/components/DocumentTopBar.svelte @@ -1,6 +1,12 @@ -
- -
+
+ +
+ +
+ + -
- -
- +
-
+ +
+ + +

{doc.title || doc.originalFilename}

- {#if compactMeta} -

- {compactMeta} + {#if shortDate} +

+ {shortDate} +

{/if}
+ + +
+ +
+ + + {#if extraCount > 0} + + {/if} + + + + +
+ {#if canAnnotate && isPdf && !annotateMode} + + {/if} + + {#if canAnnotate && isPdf && annotateMode} + + {/if} + + {#if canWrite && !annotateMode} + + + + + {/if} + + {#if doc.filePath && !annotateMode} + + {/if} +
- -
- {#if canAnnotate && isPdf} - - {/if} - - {#if canWrite} - - - - - {/if} - - {#if doc.filePath} - - - - {/if} -
+ +