Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21977

BinaryFile template output the file size in bytes

    Details

    • Sprint:
      Ventoux Sprint 6

      Description

      The BinaryFile template called by ez_render_field() outputs the file size in bytes, it would be nice to choose automatically the correct unit or at least to generate the size in Kb ou Mb.

        Activity

        Hide
        Idriss Birem (Inactive) added a comment -
        Show
        Idriss Birem (Inactive) added a comment - PR and discussion in https://github.com/ezsystems/ezpublish-kernel/pull/646
        Show
        St├ęphane Diot added a comment - Fixed in: https://github.com/ezsystems/ezpublish-kernel/commit/e44c7a51016046a87bd9c3af00db676a0c6b8f14 https://github.com/ezsystems/ezpublish-kernel/commit/cbeec6db03b3f2fc0ce0e47b7499468075e3aa45 https://github.com/ezsystems/ezpublish-kernel/commit/f1df66891dd67ba594de416054a323e1d89e6c86
        Hide
        Pedro Resende (Inactive) added a comment -

        Tested and approved by Q.A.

        Show
        Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.

          People

          • Assignee:
            Unassigned
            Reporter:
            Damien Pobel (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day
              1d
              Remaining:
              Time Spent - 4 hours, 30 minutes Remaining Estimate - 30 minutes
              30m
              Logged:
              Time Spent - 4 hours, 30 minutes Remaining Estimate - 30 minutes Time Not Required
              4h 30m

                Agile