backoffice: indicates the conditional fields on all fields (#26082)
This commit is contained in:
parent
c2e6da285e
commit
445d1815a0
|
@ -253,6 +253,8 @@ class FieldsDirectory(Directory):
|
|||
r += htmltext('<span id="label%s">%s</span>') % (field.id, label)
|
||||
r += htmltext('<p class="details">')
|
||||
r += htmltext('<span class="type">%s</span>') % _(type_label)
|
||||
if getattr(field, 'condition', None):
|
||||
r += htmltext(' - <span class="condition">%s</span>') % _('depending on condition')
|
||||
r += htmltext('</p>')
|
||||
r += htmltext('<p class="commands">')
|
||||
r += command_icon('%s/' % field.id, 'edit')
|
||||
|
|
Loading…
Reference in New Issue