about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorJeremy Kescher <jeremy@kescher.at>2022-05-05 19:11:56 +0200
committerGitHub <noreply@github.com>2022-05-05 19:11:56 +0200
commitc58c13822a5d801f633beb70f55cf0cb90c44d46 (patch)
treef9fc0a099b084a78f46a3e8ef2f56b675db14030 /app/views
parent8481fa7f6a3be28e49fdf1d87211bb255f4e08da (diff)
Fix incorrect upload size limit at /admin/custom_emojis/new in glitch-soc (#1763)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/custom_emojis/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/custom_emojis/new.html.haml b/app/views/admin/custom_emojis/new.html.haml
index 95996dec8..1ea931a2f 100644
--- a/app/views/admin/custom_emojis/new.html.haml
+++ b/app/views/admin/custom_emojis/new.html.haml
@@ -7,7 +7,7 @@
   .fields-group
     = f.input :shortcode, wrapper: :with_label, label: t('admin.custom_emojis.shortcode'), hint: t('admin.custom_emojis.shortcode_hint')
   .fields-group
-    = f.input :image, wrapper: :with_label, input_html: { accept: CustomEmoji::IMAGE_MIME_TYPES.join(' ') }, hint: t('admin.custom_emojis.image_hint', size: number_to_human_size(CustomEmoji::LIMIT))
+    = f.input :image, wrapper: :with_label, input_html: { accept: CustomEmoji::IMAGE_MIME_TYPES.join(' ') }, hint: t('admin.custom_emojis.image_hint', size: number_to_human_size(CustomEmoji::LOCAL_LIMIT))
 
   .actions
     = f.button :button, t('admin.custom_emojis.upload'), type: :submit