1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 18:08:21 +02:00

Overflow on collapsing tables and Bootstrap4 style

This commit is contained in:
Alexandre Iooss
2020-02-21 12:29:11 +01:00
parent 8d87b2b8f5
commit b395d3a633
3 changed files with 22 additions and 29 deletions

View File

@ -11,10 +11,10 @@ class HistoryTable(tables.Table):
class Meta:
attrs = {
'class':
'table table-bordered table-condensed table-striped table-hover'
'table table-condensed table-striped table-hover'
}
model = Transaction
template_name = 'django_tables2/bootstrap.html'
template_name = 'django_tables2/bootstrap4.html'
sequence = ('...', 'total', 'valid')
total = tables.Column() # will use Transaction.total() !!