DMs disclaimer banner

This commit is contained in:
Noah 2023-07-27 20:40:16 -07:00
parent d80f67dd1e
commit fbae93d4f9

View File

@ -704,6 +704,14 @@
<div :class="fontSizeClass"> <div :class="fontSizeClass">
<!-- Disclaimer at the top of DMs -->
<!-- TODO: make this disclaimer configurable for other sites to modify -->
<div class="notification is-warning is-light" v-if="isDM">
<i class="fa fa-info-circle mr-1"></i>
<strong>Reminder:</strong> please conduct yourself honorably in Direct Messages.
Please refer to {{AsHTML .Config.Branding}}'s Privacy Policy or Terms of Service with regard to DMs.
</div>
<!-- No history? --> <!-- No history? -->
<div v-if="chatHistory.length === 0"> <div v-if="chatHistory.length === 0">
<em v-if="isDM"> <em v-if="isDM">