Update to allow IDAA members to attach file.
This commit is contained in:
@@ -411,9 +411,10 @@ function send_staff_notification_email() {
|
|||||||
class:hidden={!$idaa_sess.bb.show__inline_edit__file_upload}
|
class:hidden={!$idaa_sess.bb.show__inline_edit__file_upload}
|
||||||
>
|
>
|
||||||
<div class="text-sm bg-warning-400 p-2 rounded">
|
<div class="text-sm bg-warning-400 p-2 rounded">
|
||||||
WARNING - This feature is currently only available to staff. It is intended for attaching something like a PDF or image to a specific post.
|
<!-- This feature is currently only available to staff. -->
|
||||||
|
NOTE - This is intended for attaching something like a PDF or image to a specific post. Images will be displayed in line. PDFs will be shown with a download button.
|
||||||
</div>
|
</div>
|
||||||
{#if $ae_loc.trusted_access}
|
{#if $ae_loc.authenticated_access}
|
||||||
<Comp_hosted_files_upload
|
<Comp_hosted_files_upload
|
||||||
accept="image/*, .docx, .pdf, .pptx, .key"
|
accept="image/*, .docx, .pdf, .pptx, .key"
|
||||||
class_li="border border-gray-300 rounded-md p-2 bg-gray-100 hover:bg-gray-200"
|
class_li="border border-gray-300 rounded-md p-2 bg-gray-100 hover:bg-gray-200"
|
||||||
@@ -430,8 +431,10 @@ function send_staff_notification_email() {
|
|||||||
<strong class="bg-green-100 p-1">Upload post files</strong>
|
<strong class="bg-green-100 p-1">Upload post files</strong>
|
||||||
</div>
|
</div>
|
||||||
<span class="text-sm text-gray-600 dark:text-gray-400 italic">
|
<span class="text-sm text-gray-600 dark:text-gray-400 italic">
|
||||||
<strong>Aether hosted files only</strong><br>
|
<!-- <strong>Aether hosted files only</strong><br> -->
|
||||||
Recommended: documents (PDF), audio (mp3, m4a), and video (mp4, mkv)<br>
|
Recommended: documents (PDF) and images (png, webp, jpg)
|
||||||
|
<!-- , audio (mp3, m4a), and video (mp4, mkv) -->
|
||||||
|
<!-- <br> -->
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</Comp_hosted_files_upload>
|
</Comp_hosted_files_upload>
|
||||||
|
|||||||
Reference in New Issue
Block a user