Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16827

Make default "SI" Binary Prefix configurable and its usage consistent

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Seam / JSF UI
    • Tags:
    • Sprint:
      nxNag Sprint 7.4.2
    • Story Points:
      1

      Description

      The printFileSize function in taglib nxweb-util.tld establishes "SI" as the default Nuxeo Web UI Binary Prefix. However, some users may be confused by the "SI" Binary Prefix, i.e., the difference subtle difference between "kB" in Nuxeo and "KB" in Firefox for example.The default Binary Prefix should be configurable which would allow so set "JEDEC" as the default.
      Also, several Nuxeo web page fragments use the printFormatedFileSize function to explicitly request the "JEDEC" Binary Prefix including https://github.com/nuxeo/nuxeo/blob/1bdeb91815335e2c3d6f714636ff9dda64407f99/nuxeo-jsf/nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/widgets/listing/listing_main_file_size_widget_template.xhtml and . https://github.com/nuxeo/nuxeo/blob/4786d1af55bbd294d5553f905a8e2f58580c68a7/nuxeo-features/nuxeo-platform-imaging/nuxeo-platform-imaging-jsf/src/main/resources/web/nuxeo.war/widgets/picture_additional_formats_widget_template.xhtml. It is unclear why these two pages in particular do not use the default. These pages should be modified to be consistent with the rest of the application and use the "enhanced" printFileSize function described above.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: