{{ helper.humanize(entity, entry) }}
{{ bootstrap.badge(entry.type, bootstrap.label_type(entry.type)) }}
Property | Old value | New value | {% for key, values in diffs %}
---|---|---|
{{ key }} |
{% if values.old is defined %} {% if values.old is empty %} {{ bootstrap.badge('null', 'secondary') }} {% else %} {{ bootstrap.text(helper.dump(values.old), 'danger') }} {% endif %} {# {% else %}#} {# {% if values['-'] is empty %}#} {# {{ bootstrap.badge('null', 'secondary') }}#} {# {% else %}#} {# {{ bootstrap.text(helper.dump(values['-']), 'danger') }}#} {# {% endif %}#} {% endif %} | {% if values.new is defined %} {% if values.new is empty %} {{ bootstrap.badge('null', 'secondary') }} {% else %} {% if values.old is empty %} {{ bootstrap.text(helper.dump(values.new), 'primary') }} {% else %} {{ bootstrap.text(helper.dump(values.new), 'success') }} {% endif %} {% endif %} {# {% else %}#} {# {% if values['+'] is empty %}#} {# {{ bootstrap.badge('null', 'secondary') }}#} {# {% else %}#} {# {% if values['-'] is empty %}#} {# {{ bootstrap.text(helper.dump(values['+']), 'primary') }}#} {# {% else %}#} {# {{ bootstrap.text(helper.dump(values['+']), 'success') }}#} {# {% endif %}#} {# {% endif %}#} {% endif %} |