Fix colspan number
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
This commit is contained in:
parent
5a2baf607f
commit
7714cbf39a
@ -209,16 +209,30 @@
|
||||
{% else %}
|
||||
|
||||
{% if db_is_system_schema %}
|
||||
{% set action_colspan = 3 %}
|
||||
{% set action_colspan = 2 %}
|
||||
{% else %}
|
||||
{% set action_colspan = 6 %}
|
||||
{% set action_colspan = 4 %}
|
||||
{% endif %}
|
||||
{% if num_favorite_tables > 0 %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
{% if show_charset %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
{% if show_comment %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
{% if show_creation %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
{% if show_last_update %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
{% if show_last_check %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
|
||||
{% set colspan_for_structure = action_colspan + 3 %}
|
||||
<td colspan="{{ colspan_for_structure - db_is_system_schema ? 6 : 9 }}"
|
||||
<td colspan="{{ action_colspan }}"
|
||||
class="text-center">
|
||||
{% trans 'in use' %}
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user