preview_sql.twig 309 B

1234567891011
  1. <div class="preview_sql">
  2. {% if query_data is empty %}
  3. {% trans 'No change' %}
  4. {% elseif query_data is iterable %}
  5. {% for query in query_data %}
  6. {{ Util_formatSql(query) }}
  7. {% endfor %}
  8. {% else %}
  9. {{ Util_formatSql(query_data) }}
  10. {% endif %}
  11. </div>