~savoirfairelinux-openerp/openerp-web/1279885-trunk

Viewing all changes in revision 3934.

  • Committer: Thibault Delavallée
  • Date: 2014-02-11 14:01:01 UTC
  • mfrom: (3840.5.16 trunk-job-positions)
  • Revision ID: tde@openerp.com-20140211140101-33259mv4i5c1ge7j
[MERGE] [IMP] web_kanban_gauge: cleaned and improved parameters
- max_value: maximum value of the gauge [default: 100]
- max_field: get the max_value from the field that must be present in the view; takes over max_value
- gauge_value_field: if set, the value displayed below the gauge is taken from this field instead of the base field used for the gauge. This allows to display a number different from the gauge.
- force_set: is value is 0, display a text 'Click to set' [default: True]
- label: lable of the gauge, displayed below the gauge value
- title: title of the gauge, displayed on top of the gauge
- on_change: action to call when cliking and setting a value (previously names action_change)
- on_click_label: optional label of the input displayed when clicking

Coming with an update of jobs that triggered those various changes and cleaning in the gauge widget.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: