Permission update
This commit is contained in:
@@ -53,10 +53,12 @@ onMount(() => {
|
|||||||
|
|
||||||
<section
|
<section
|
||||||
class="ae_meta archive__meta mt-2 flex flex-col gap-2 items-center justify-center"
|
class="ae_meta archive__meta mt-2 flex flex-col gap-2 items-center justify-center"
|
||||||
class:hidden={!$ae_loc.administrator_access}
|
class:hidden={!$ae_loc.trusted_access}
|
||||||
>
|
>
|
||||||
<div class="ae_group flex flex-col sm:flex-row gap-1 items-center justify-center flex flex-col text-sm text-gray-500">
|
<div class="ae_group flex flex-col sm:flex-row gap-1 items-center justify-center flex flex-col text-sm text-gray-500">
|
||||||
<span>
|
<span
|
||||||
|
class:hidden={!$ae_loc.administrator_access}
|
||||||
|
>
|
||||||
<span class="ae_label">Created on:</span>
|
<span class="ae_label">Created on:</span>
|
||||||
<span class="ae_value archive__created_on">{ae_util.iso_datetime_formatter($lq__archive_obj?.created_on, 'datetime_iso_no_seconds')}</span>
|
<span class="ae_value archive__created_on">{ae_util.iso_datetime_formatter($lq__archive_obj?.created_on, 'datetime_iso_no_seconds')}</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -70,7 +72,7 @@ onMount(() => {
|
|||||||
|
|
||||||
{#if $ae_loc.trusted_access}
|
{#if $ae_loc.trusted_access}
|
||||||
<div class="ae_options">
|
<div class="ae_options">
|
||||||
{#if $ae_loc.trusted_access}
|
<!-- {#if $ae_loc.trusted_access} -->
|
||||||
<button
|
<button
|
||||||
disabled={!$ae_loc.trusted_access}
|
disabled={!$ae_loc.trusted_access}
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
@@ -108,7 +110,7 @@ onMount(() => {
|
|||||||
>
|
>
|
||||||
<span class="fas fa-edit m-1"></span> Edit Archive
|
<span class="fas fa-edit m-1"></span> Edit Archive
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
<!-- {/if} -->
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user