{{ browse_table_label_truename }}
{{ tracking_icon|raw }}
{% if server_replica_status %}
{{ ignored ? get_image('s_cancel', 'Not replicated'|trans) }}
{{ do ? get_image('s_success', 'Replicated'|trans) }}
{% endif %}
{# Favorite table anchor #}
{% if num_favorite_tables > 0 %}
{# Check if current table is already in favorite list #}
{% set fav_params = {
'db': db,
'ajax_request': true,
'favorite_table': current_table['TABLE_NAME'],
((already_favorite ? 'remove' : 'add') ~ '_favorite'): true
} %}
{% include 'database/structure/favorite_anchor.twig' with {
'table_name_hash': table_name_hash,
'db_table_name_hash': db_table_name_hash,
'fav_params': fav_params,
'already_favorite': already_favorite,
} only %}
{% endif %}
{{ may_have_rows ? get_icon('b_browse', 'Browse'|trans) : get_icon('bd_browse', 'Browse'|trans) }}
{{ get_icon('b_props', 'Structure'|trans) }}
{{ may_have_rows ? get_icon('b_select', 'Search'|trans) : get_icon('bd_select', 'Search'|trans) }}
{% if not db_is_system_schema %}
{{ get_icon('b_insrow', 'Insert'|trans) }}
{% if table_is_view %}
{{ get_icon('b_edit', 'Edit'|trans) }}
{% else %}
{{ may_have_rows ? get_icon('b_empty', 'Empty'|trans) : get_icon('bd_empty', 'Empty'|trans) }}
{% endif %}
{{ get_icon('b_drop', 'Drop'|trans) }}
{% endif %}
{% if current_table['TABLE_ROWS'] is defined
and (current_table['ENGINE'] != null or table_is_view) %}
{# Get the row count #}
{% set row_count = format_number(current_table['TABLE_ROWS'], 0) %}
{# Content to be appended into 'tbl_rows' cell.
If row count is approximate, display it as an anchor to get real count. #}
{% if approx_rows %}
~{{ row_count }}
{% else %}
{{ row_count }}
{% endif %}
{{ show_superscript|raw }}
{% if not (properties_num_columns > 1) %}
{% if current_table['ENGINE'] is not empty %}
{{ current_table['ENGINE'] }}
{% elseif table_is_view %}
{% trans 'View' %}
{% endif %}
{% if collation|length > 0 %}
{{ collation|raw }}
{% endif %}
{% endif %}
{% if is_show_stats %}
{{ formatted_size }} {{ unit }}
{{ overhead|raw }}
{% endif %}
{% if not (show_charset > 1) %}
{% if charset|length > 0 %}
{{ charset|raw }}
{% endif %}
{% endif %}
{% if show_comment %}
{% set comment = current_table['Comment'] %}
{% if comment|length > limit_chars %}
{{ comment|slice(0, limit_chars) }}
...
{% else %}
{{ comment }}
{% endif %}
{% endif %}
{% if show_creation %}
{{ create_time }}
{% endif %}
{% if show_last_update %}
{{ update_time }}
{% endif %}
{% if show_last_check %}
{{ check_time }}
{% endif %}
{% elseif table_is_view %}
-
{% trans 'View' %}
---
{% if is_show_stats %}
-
-
{% endif %}
{% if show_charset %}
{% endif %}
{% if show_comment %}
{% endif %}
{% if show_creation %}
-
{% endif %}
{% if show_last_update %}
-
{% endif %}
{% if show_last_check %}
-
{% endif %}
{% else %}
{% if db_is_system_schema %}
{% set action_colspan = 3 %}
{% else %}
{% set action_colspan = 6 %}
{% endif %}
{% if num_favorite_tables > 0 %}
{% set action_colspan = action_colspan + 1 %}
{% endif %}
{% set colspan_for_structure = action_colspan + 3 %}
{% trans 'in use' %}
{% endif %}