Minor changes
This commit is contained in:
@@ -2,16 +2,18 @@
|
||||
// let log_lvl: number = 0;
|
||||
|
||||
// *** Import Svelte specific
|
||||
import { goto } from '$app/navigation';
|
||||
// import { goto } from '$app/navigation';
|
||||
|
||||
// *** Import other supporting libraries
|
||||
// import { Spinner } from 'flowbite-svelte';
|
||||
import { BookOpenText } from '@lucide/svelte';
|
||||
|
||||
// *** Import Aether specific variables and functions
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
import { ae_snip, ae_loc, ae_sess, ae_api, ae_trig, slct, slct_trigger } from '$lib/ae_stores';
|
||||
import { journals_loc, journals_sess, journals_slct } from '$lib/ae_journals/ae_journals_stores';
|
||||
|
||||
// *** Setup Svelte properties
|
||||
interface Props {
|
||||
lq__journal_obj_li: any;
|
||||
}
|
||||
@@ -51,7 +53,9 @@ let { lq__journal_obj_li }: Props = $props();
|
||||
<div class="ae_options flex flex-row gap-2 items-center justify-center">
|
||||
|
||||
<a href="/journals/{journals_journal_obj?.journal_id}" class="btn btn-secondary btn-md variant-ghost-primary hover:variant-filled-primary hover:underline transition" title={`View: ${journals_journal_obj?.name}`}>
|
||||
<span class="fas fa-envelope-open m-1"></span> Open
|
||||
<!-- <span class="fas fa-envelope-open m-1"></span> -->
|
||||
<BookOpenText class="m-1" />
|
||||
Open
|
||||
|
||||
{#if journals_journal_obj?.journal_entry_count}
|
||||
<span class="ae_badge ae_info journal__journal_entry_count">
|
||||
@@ -60,7 +64,7 @@ let { lq__journal_obj_li }: Props = $props();
|
||||
{/if}
|
||||
</a>
|
||||
|
||||
{#if $ae_loc.administrator_access && $ae_loc.edit_mode}
|
||||
<!-- {#if $ae_loc.administrator_access && $ae_loc.edit_mode}
|
||||
<button
|
||||
type="button"
|
||||
disabled={!$ae_loc.administrator_access}
|
||||
@@ -78,7 +82,7 @@ let { lq__journal_obj_li }: Props = $props();
|
||||
>
|
||||
<span class="fas fa-edit m-1"></span> Edit Journal
|
||||
</button>
|
||||
{/if}
|
||||
{/if} -->
|
||||
</div>
|
||||
|
||||
<section
|
||||
|
||||
Reference in New Issue
Block a user