added team permissions (#996)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
'comment': 'hidden-xs',
|
||||
'country': 'hidden-xs',
|
||||
'number': 'hidden-xs',
|
||||
'team': '',
|
||||
'visible': 'hidden-xs',
|
||||
'actions': 'actions alwaysVisible',
|
||||
} %}
|
||||
@@ -37,6 +38,13 @@
|
||||
<td class="{{ tables.data_table_column_class(tableName, columns, 'comment') }}">{{ entry.comment|comment2html }}</td>
|
||||
<td class="{{ tables.data_table_column_class(tableName, columns, 'country') }}">{{ entry.country|country }}</td>
|
||||
<td class="{{ tables.data_table_column_class(tableName, columns, 'number') }}">{{ entry.number }}</td>
|
||||
<td class="{{ tables.data_table_column_class(tableName, columns, 'team') }}">
|
||||
{% if entry.teams|length > 0 %}
|
||||
{{ widgets.badge_counter(entry.teams|length) }}
|
||||
{% else %}
|
||||
{{ widgets.icon('unlocked') }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="{{ tables.data_table_column_class(tableName, columns, 'visible') }}">{{ widgets.label_visible(entry.visible) }}</td>
|
||||
<td class="actions">
|
||||
{{ actions.customer(entry, 'index') }}
|
||||
|
||||
Reference in New Issue
Block a user