You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sharan Foga (JIRA)" <ji...@apache.org> on 2015/02/21 08:39:02 UTC

[jira] [Updated] (OFBIZ-3519) Slightly modified Visual Theme Resource Enums for better readability

     [ https://issues.apache.org/jira/browse/OFBIZ-3519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sharan Foga updated OFBIZ-3519:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> Slightly modified Visual Theme Resource Enums for better readability
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-3519
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3519
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>            Reporter: Vikas Mayur
>            Priority: Minor
>         Attachments: enum.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)