0001-workflows-fix-display-of-boolean-parameters-13031.patch
wcs/workflows.py | ||
---|---|---|
1572 | 1572 |
if hasattr(self, 'get_%s_parameter_view_value' % parameter): |
1573 | 1573 |
return getattr(self, 'get_%s_parameter_view_value' % parameter)() |
1574 | 1574 |
value = getattr(self, parameter) |
1575 |
if type(parameter) is bool:
|
|
1575 |
if type(value) is bool:
|
|
1576 | 1576 |
return _('Yes') if value else _('No') |
1577 | 1577 |
elif hasattr(widget, 'options') and value: |
1578 | 1578 |
for option in widget.options: |
1579 |
- |