Ticket #851 (closed Defect: fixed)

Opened 9 years ago

Last modified 9 years ago

missing measurement unit in file size

Reported by: JuergeN Owned by: jri
Priority: Major Milestone: Release 4.8
Component: DeepaMehta Standard Distribution Version: 4.7
Keywords: Cc:
Complexity: 3 Area: GUI / Usability
Module:

Description

The details of a file show its size, but without any measurement unit. Please add the coresponding unit to the size label or behind the actual value.

Change History

comment:1 Changed 9 years ago by jri

  • Owner set to jri
  • Status changed from new to accepted

comment:2 Changed 9 years ago by Jörg Richter <jri@…>

In e026e205eadf4c28cac03a73eb09f082831423b2/deepamehta:

Show file sizes with units (#851).

A File topic's size is displayed along with unit (bytes, KB, MB, GB).
The values are rounded. The exact value (in bytes) is displayed in a tooltip.

Thank you, JuergeN, for reporting!

2 new Webclient utility methods:

js.format_file_size(size)
js.round(val, decimals)

See #851.

comment:3 Changed 9 years ago by Jörg Richter <jri@…>

  • Status changed from accepted to closed
  • Resolution set to fixed

In 90335b23d2abb331fe72a80c9a1eb40ecf91a93b/deepamehta:

Files: add unit (MB) to disk quota (#851).

The topic type "Disk Quota" is renamed to "DiskQuota? (MB)".
Thus the unit is shown in both situations, displaying and editing.

Close #851.

Note: See TracTickets for help on using tickets.