Working on posts with linked content (hosted files).
This commit is contained in:
@@ -409,7 +409,7 @@ async function handle_hosted_files_uploaded(hosted_file_id_li: string[], hosted_
|
||||
<span class="text-sm text-gray-600 dark:text-gray-400 italic">
|
||||
<strong>Aether hosted files only</strong><br>
|
||||
Recommended: PowerPoint (pptx) or Keynote (key) or Adobe PDF<br>
|
||||
Media: Audio (mp3, m4a) and videos (mp4, mkv)<br>
|
||||
Media: audio (mp3, m4a) and video (mp4, mkv)<br>
|
||||
Supplemental files: Word Doc, Excel, txt, etc
|
||||
</span>
|
||||
</span>
|
||||
|
||||
@@ -31,6 +31,7 @@ let ae_promises: key_val = {};
|
||||
{#if idaa_archive_content_obj.group && idaa_archive_content_obj.group != $lq__archive_content_obj_li[index - 1]?.group}
|
||||
<div class="ae_row archive_content__group flex flex-row items-center justify-center">
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-md variant-glass-secondary hover:variant-filled-secondary transition w-96"
|
||||
on:click={() => {
|
||||
if ($idaa_loc.archives.show_list__archive_content_li_group == idaa_archive_content_obj.group) {
|
||||
@@ -83,6 +84,7 @@ let ae_promises: key_val = {};
|
||||
|
||||
<div class="ae_options flex flex-row flex-wrap gap-2 items-center justify-center">
|
||||
<button
|
||||
type="button"
|
||||
disabled={!$ae_loc.trusted_access}
|
||||
on:click={() => {
|
||||
$idaa_slct.archive_content_id = idaa_archive_content_obj?.archive_content_id;
|
||||
@@ -108,6 +110,7 @@ let ae_promises: key_val = {};
|
||||
|
||||
{#if $ae_loc.authenticated_access && idaa_archive_content_obj?.hosted_file_id}
|
||||
<button
|
||||
type="button"
|
||||
disabled={!$ae_loc.trusted_access}
|
||||
on:click={() => {
|
||||
ae_promises[idaa_archive_content_obj.hosted_file_id] = api.download_hosted_file({
|
||||
@@ -158,6 +161,7 @@ let ae_promises: key_val = {};
|
||||
|
||||
{#if $ae_loc.trusted_access && $ae_loc.edit_mode}
|
||||
<button
|
||||
type="button"
|
||||
disabled={!$ae_loc.trusted_access}
|
||||
on:click={() => {
|
||||
$idaa_slct.archive_content_id = idaa_archive_content_obj.archive_content_id;
|
||||
|
||||
Reference in New Issue
Block a user