minimize count and visibility columns for better table alignments (#1636)

This commit is contained in:
Kevin Papst
2020-04-15 11:46:54 +02:00
committed by GitHub
parent 0bc9e74853
commit fe8fecafeb
11 changed files with 36 additions and 29 deletions

View File

@@ -15,10 +15,10 @@
{% else %}
{% set columns = {
'name': '',
'teamlead': '',
'name': {'class': ''},
'teamlead': {'class': ''},
'user': {'class': 'hidden-xs', 'orderBy': false},
'actions': 'actions alwaysVisible',
'actions': {'class': 'actions alwaysVisible'},
} %}
{% set tableName = 'admin_teams' %}
@@ -33,7 +33,7 @@
{{ widgets.label_user(user) }} 
{% endfor %}
</td>
<td class="actions">
<td class="{{ tables.data_table_column_class(tableName, columns, 'actions') }}">
{{ actions.team(team, 'index') }}
</td>
</tr>