Modify ↓
#1426 closed enhancement (fixed)
Display file size while browse source
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | general | Version: | none |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Attachments (1)
Change History (4)
by , 20 years ago
Attachment: | file_size_in_browser.patch added |
---|
comment:2 by , 20 years ago
I haven't tested it yet, but it looks ok to me. One thing to change is pretty_size
should cast the size to a float if it's too big to display in bytes, since int division will accumulate errors. You could also display a decimal place or two.
I'm undecided about this, but it would also be possible to set the size jumps at 512 instead of 1024 (e.g. display 0.5MB instead of 512kB).
comment:3 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I implemented the patch, along with your suggestions in [1507]. I also made the column sortable.
Note:
See TracTickets
for help on using tickets.
Proposed implementation of the feature