mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-25 23:00:29 +00:00
Fix file size label hardcode
This commit is contained in:
parent
5e65d569bf
commit
f689110e0b
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class ImageUpload(FormView):
|
|||
make <ul.errorlist/> called errorlist
|
||||
make <li/> called error
|
||||
set size_in_mb to (me.files[0].size / 1024 / 1024).toFixed(2)
|
||||
put 'File must be 10MB or less (actual: ' + size_in_mb + 'MB)' into error
|
||||
put 'File must be {settings.SETUP.MEDIA_MAX_IMAGE_FILESIZE_MB}MB or less (actual: ' + size_in_mb + 'MB)' into error
|
||||
put error into errorlist
|
||||
put errorlist before me
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue