optional_action_links.twig 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <a href="#" id="printView">{{ Util_getIcon('b_print', 'Print'|trans, true) }}</a>
  2. {% if not tbl_is_view and not db_is_system_schema %}
  3. <a href="sql.php" data-post="{{ url_query|raw }}&amp;session_max_rows=all&amp;sql_query=
  4. {{- ('SELECT * FROM ' ~ Util_backquote(table) ~ ' PROCEDURE ANALYSE()')|url_encode -}}
  5. " style="margin-right: 0;">
  6. {{ Util_getIcon(
  7. 'b_tblanalyse',
  8. 'Propose table structure'|trans,
  9. true
  10. ) }}
  11. </a>
  12. {{ Util_showMySQLDocu('procedure_analyse') }}
  13. {% if is_active %}
  14. <a href="tbl_tracking.php{{ url_query|raw }}">
  15. {{ Util_getIcon('eye', 'Track table'|trans, true) }}
  16. </a>
  17. {% endif %}
  18. <a href="#" id="move_columns_anchor">
  19. {{ Util_getIcon('b_move', 'Move columns'|trans, true) }}
  20. </a>
  21. <a href="normalization.php{{ url_query|raw }}">
  22. {{ Util_getIcon('normalize', 'Normalize'|trans, true) }}
  23. </a>
  24. {% endif %}
  25. {% if tbl_is_view and not db_is_system_schema %}
  26. {% if is_active %}
  27. <a href="tbl_tracking.php{{ url_query|raw }}">
  28. {{ Util_getIcon('eye', 'Track view'|trans, true) }}
  29. </a>
  30. {% endif %}
  31. {% endif %}