{% macro show(url, message) %} {{ message is empty ? 'sylius.show'|trans : message }} {% endmacro %} {% macro generic(url, message, icon) %} {% if icon is not empty %}{% endif %}{{ message }} {% endmacro %} {% macro create(url, message) %} {{ message is empty ? 'sylius.create'|trans : message }} {% endmacro %} {% macro edit(url, message) %} {{ message is empty ? 'sylius.edit'|trans : message }} {% endmacro %} {% macro delete(url, message, disabled=false, modal=true) %} {% if disabled %} {{ message is empty ? 'sylius.delete'|trans : message }} {% else %}
{% endif %} {% endmacro %} {% macro manage(url, message) %} {{ message is empty ? 'sylius.manage'|trans : message }} {% endmacro %} {% macro move(url, direction, first=false, last=false, message='') %}
{% endmacro %} {% macro patch(url, message, icon, button) %}
{% endmacro %}