OFBiz
  1. OFBiz
  2. OFBIZ-3519

Slightly modified Visual Theme Resource Enums for better readability

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ALL COMPONENTS
    • Labels:
      None
    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      Minor enhancement to the visual theme resource enumId so that a more verbose name of the resource or template file can be specified.

      The suffix STYLESHEET and JAVASCRIPT in the enum impose a restriction on specifying a meaningful name of the enumId field which is max 20 chars in size.

      The suffix in the enum contains following changes.

      1. STYLESHEET is replaced with CSS
      2. JAVASCRIPT is replaced with JS
      3. LOC is completely removed from TMPLT, since it is anyway specify a template location.

      With all above points the total char size of the enum decreased and it gives an opportunity to specify better names and hence more readability.

      For example VT_HDR_TMPLT_LOC becomes VT_HEADER_TMPLT

      1. enum.patch
        57 kB
        Vikas Mayur

        Activity

        Vikas Mayur created issue -
        Vikas Mayur made changes -
        Field Original Value New Value
        Attachment enum.patch [ 12437196 ]
        Gavin made changes -
        Workflow jira [ 12500284 ] OFbiz Workflow [ 12507389 ]
        Jacopo Cappellato made changes -
        Fix Version/s Trunk [ 12311928 ]
        Sharan Foga made changes -
        Sprint Bug Crush Event - 21/2/2015 [ 91 ]
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher

          People

          • Assignee:
            Unassigned
            Reporter:
            Vikas Mayur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development

                Agile