Updates to make Journals more secure
This commit is contained in:
@@ -155,6 +155,7 @@ if (browser) {
|
||||
</svelte:head>
|
||||
|
||||
|
||||
{#if $ae_loc.person_id == $lq__journal_obj?.person_id}
|
||||
<!-- Svelte Page for a Journal ID page -->
|
||||
<!-- <section
|
||||
class="
|
||||
@@ -178,7 +179,9 @@ if (browser) {
|
||||
lq__journal_entry_obj_li={lq__journal_entry_obj_li}
|
||||
/>
|
||||
{:else}
|
||||
<section class="main_content flex-grow px-1 md:px-2 pb-28 flex flex-col gap-1 items-center">
|
||||
<p>No journal entry available to show.</p>
|
||||
</section>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -230,3 +233,11 @@ if (browser) {
|
||||
{/snippet}
|
||||
|
||||
</Modal>
|
||||
|
||||
{:else}
|
||||
<section class="main_content flex-grow px-1 md:px-2 pb-28 flex flex-col gap-1 items-center">
|
||||
<p class="text-center">
|
||||
You must be logged in as the owner to view this Journal.
|
||||
</p>
|
||||
</section>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user