0001-backoffice-indicates-the-conditional-fields-on-all-f.patch
wcs/admin/fields.py | ||
---|---|---|
253 | 253 |
r += htmltext('<span id="label%s">%s</span>') % (field.id, label) |
254 | 254 |
r += htmltext('<p class="details">') |
255 | 255 |
r += htmltext('<span class="type">%s</span>') % _(type_label) |
256 |
if getattr(field, 'condition', None): |
|
257 |
r += htmltext(' - <span class="condition">%s</span>') % _('depending on condition') |
|
256 | 258 |
r += htmltext('</p>') |
257 | 259 |
r += htmltext('<p class="commands">') |
258 | 260 |
r += command_icon('%s/' % field.id, 'edit') |
259 |
- |