Merge lp:~domsense/web-addons/adding_web_field_style into lp:~webaddons-core-editors/web-addons/6.1
Status: | Rejected |
---|---|
Rejected by: | Stefan Rijnhart (Opener) |
Proposed branch: | lp:~domsense/web-addons/adding_web_field_style |
Merge into: | lp:~webaddons-core-editors/web-addons/6.1 |
Diff against target: |
264 lines (+230/-0) 6 files modified
web_field_style/AUTHORS.txt (+4/-0) web_field_style/__init__.py (+20/-0) web_field_style/__openerp__.py (+58/-0) web_field_style/server-view.rng.patch (+14/-0) web_field_style/static/js/web_field_style.js (+42/-0) web_field_style/static/xml/web_field_style.xml (+92/-0) |
To merge this branch: | bzr merge lp:~domsense/web-addons/adding_web_field_style |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | Disapprove | ||
Alexandre Fayolle - camptocamp | Needs Fixing | ||
Guewen Baconnier @ Camptocamp | Abstain | ||
Review via email: mp+144023@code.launchpad.net |
Description of the change
Allows to specify different colors or
CSS class per field in view definition.
Three new attributes will be available on the field element of a view:
`bgcolor` for setting the background color
`fgcolor` for setting the foreground color (basically the text)
`ccsclass` for setting a custom CSS class to be applied on the field
`bg/fgcolor` are very useful for people that only want to change some field color without
having to deal with CSS.
NOTE: you must apply a simple patch to this server's file
Just use the patch provided by this module (see server-
Unmerged revisions
- 3. By Lorenzo Battistini
-
[ADD] web_field_style
Is it not possible to patch the file when this module is installed and to unpatch when the module is uninstalled? This would greatly simplify installation for end users.