{{ browse_table_label|raw }} {{ tracking_icon|raw }} {% if server_slave_status %} {{ ignored ? Util_getImage('s_cancel', 'Not replicated'|trans) }} {{ do ? Util_getImage('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': md5(current_table['TABLE_NAME']), 'db_table_name_hash': md5(db ~ '.' ~ current_table['TABLE_NAME']), 'fav_params': fav_params, 'already_favorite': already_favorite, 'titles': titles } only %} {% endif %} {{ browse_table|raw }} {{ titles['Structure']|raw }} {{ search_table|raw }} {% if not db_is_system_schema %} {{ titles['Insert']|raw }} {{ empty_table|raw }} {{ titles['Drop']|raw }} {% endif %} {% if current_table['TABLE_ROWS'] is defined and (current_table['ENGINE'] != null or table_is_view) %} {# Get the row count #} {% set row_count = Util_formatNumber(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 ? Util_localisedDate(strtotime(create_time)) : '-' }} {% endif %} {% if show_last_update %} {{ update_time ? Util_localisedDate(strtotime(update_time)) : '-'}} {% endif %} {% if show_last_check %} {{ check_time ? Util_localisedDate(strtotime(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 %} {% set count = 0 %} {% if properties_num_columns %} {% set count = count + 2 %} {% endif %} {% if is_show_stats %} {% set count = count + 2 %} {% endif %} {% if show_charset %} {% set count = count + 1 %} {% endif %} {% if show_comment %} {% set count = count + 1 %} {% endif %} {% if show_creation %} {% set count = count + 1 %} {% endif %} {% if show_last_update %} {% set count = count + 1 %} {% endif %} {% if show_last_check %} {% set count = count + 1 %} {% endif %} {% 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 %}