More work on making things look better. File counts look nicer.
This commit is contained in:
@@ -29,7 +29,7 @@ export async function handle_load_ae_obj_id__event(
|
|||||||
api_cfg: api_cfg,
|
api_cfg: api_cfg,
|
||||||
obj_type: 'event',
|
obj_type: 'event',
|
||||||
obj_id: event_id, // NOTE: This is the FQDN, not normally the ID.
|
obj_id: event_id, // NOTE: This is the FQDN, not normally the ID.
|
||||||
use_alt_table: false, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
|
use_alt_table: true, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
|
||||||
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value in the API config.
|
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value in the API config.
|
||||||
params: params,
|
params: params,
|
||||||
log_lvl: log_lvl
|
log_lvl: log_lvl
|
||||||
@@ -90,7 +90,7 @@ export async function handle_load_ae_obj_li__event(
|
|||||||
obj_type: 'event',
|
obj_type: 'event',
|
||||||
for_obj_type: 'account',
|
for_obj_type: 'account',
|
||||||
for_obj_id: account_id,
|
for_obj_id: account_id,
|
||||||
use_alt_table: false, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
|
use_alt_table: true, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
|
||||||
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value
|
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value
|
||||||
enabled: enabled,
|
enabled: enabled,
|
||||||
hidden: hidden,
|
hidden: hidden,
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ let events_local_data_struct: key_val = {
|
|||||||
show_content__session_search_help: true,
|
show_content__session_search_help: true,
|
||||||
show_content__session_search_room_name: false,
|
show_content__session_search_room_name: false,
|
||||||
show_content__session_view: null,
|
show_content__session_view: null,
|
||||||
show_content__session_qr: true,
|
show_content__session_qr: false,
|
||||||
hide__session_poc: true,
|
hide__session_poc: true,
|
||||||
|
|
||||||
show_content__disabled_files: false,
|
show_content__disabled_files: false,
|
||||||
|
|||||||
@@ -167,10 +167,13 @@ let lq_kv__event_session_obj_li = liveQuery(
|
|||||||
<strong>{session_obj?.name}</strong>
|
<strong>{session_obj?.name}</strong>
|
||||||
</span>
|
</span>
|
||||||
{#if session_obj?.file_count_all}
|
{#if session_obj?.file_count_all}
|
||||||
<span class="badge variant-glass-success hover:variant-filled-success" title="{session_obj?.file_count_all}× files under session">
|
<span
|
||||||
|
class="badge variant-glass-success hover:variant-filled-success"
|
||||||
|
title="{session_obj?.file_count_all}× files under session">
|
||||||
<span class="fas fa-file-alt mx-1"></span>
|
<span class="fas fa-file-alt mx-1"></span>
|
||||||
{session_obj?.file_count_all}×
|
{session_obj?.file_count_all}×
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{:else}
|
{:else}
|
||||||
<!-- Nothing -->
|
<!-- Nothing -->
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -78,9 +78,12 @@ let ae_triggers: key_val = {};
|
|||||||
{:else}
|
{:else}
|
||||||
<span class="fas fa-file-archive m-1"></span>
|
<span class="fas fa-file-archive m-1"></span>
|
||||||
Event Files?
|
Event Files?
|
||||||
<!-- <span> -->
|
<span
|
||||||
{$lq__event_obj?.file_count ? `(${$lq__event_obj?.file_count})` : ''}
|
class="badge badge-icon variant-glass-success absolute -top-1.5 -right-1.5 z-10"
|
||||||
<!-- </span> -->
|
class:hidden={!$lq__event_obj?.file_count}
|
||||||
|
>
|
||||||
|
{$lq__event_obj?.file_count}×
|
||||||
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
@@ -66,9 +66,12 @@ let ae_triggers: key_val = {};
|
|||||||
{:else}
|
{:else}
|
||||||
<span class="fas fa-file-archive m-1"></span>
|
<span class="fas fa-file-archive m-1"></span>
|
||||||
Location Files?
|
Location Files?
|
||||||
<!-- <span> -->
|
<span
|
||||||
{$lq__event_location_obj?.file_count ? `(${$lq__event_location_obj?.file_count})` : ''}
|
class="badge badge-icon variant-glass-success absolute -top-1.5 -right-1.5 z-10"
|
||||||
<!-- </span> -->
|
class:hidden={!$lq__event_location_obj?.file_count}
|
||||||
|
>
|
||||||
|
{$lq__event_location_obj?.file_count}×
|
||||||
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
@@ -72,9 +72,12 @@ let ae_triggers: key_val = {};
|
|||||||
{:else}
|
{:else}
|
||||||
<span class="fas fa-file-archive m-1"></span>
|
<span class="fas fa-file-archive m-1"></span>
|
||||||
Presenter Files?
|
Presenter Files?
|
||||||
<!-- <span> -->
|
<span
|
||||||
{$lq__event_presenter_obj?.file_count ? `(${$lq__event_presenter_obj?.file_count})` : ''}
|
class="badge badge-icon variant-glass-success absolute -top-1.5 -right-1.5 z-10"
|
||||||
<!-- </span> -->
|
class:hidden={!$lq__event_presenter_obj?.file_count}
|
||||||
|
>
|
||||||
|
{$lq__event_presenter_obj?.file_count}×
|
||||||
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
@@ -66,9 +66,12 @@ let ae_triggers: key_val = {};
|
|||||||
{:else}
|
{:else}
|
||||||
<span class="fas fa-file-archive m-1"></span>
|
<span class="fas fa-file-archive m-1"></span>
|
||||||
Session Files?
|
Session Files?
|
||||||
<!-- <span> -->
|
<span
|
||||||
{$lq__event_session_obj?.file_count ? `(${$lq__event_session_obj?.file_count})` : ''}
|
class="badge badge-icon variant-glass-success absolute -top-1.5 -right-1.5 z-10"
|
||||||
<!-- </span> -->
|
class:hidden={!$lq__event_session_obj?.file_count}
|
||||||
|
>
|
||||||
|
{$lq__event_session_obj?.file_count}×
|
||||||
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user