1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +00:00

show that rows are clickable, fix #75

This commit is contained in:
Pierre-antoine Comby 2021-10-01 14:35:29 +02:00
parent d1a9f21b56
commit 946bc1e497

View File

@ -31,7 +31,8 @@ class ClubTable(tables.Table):
row_attrs = {
'class': 'table-row',
'id': lambda record: "row-" + str(record.pk),
'data-href': lambda record: record.pk
'data-href': lambda record: record.pk,
'style':'cursor:pointer',
}
@ -74,7 +75,8 @@ class UserTable(tables.Table):
model = User
row_attrs = {
'class': 'table-row',
'data-href': lambda record: record.pk
'data-href': lambda record: record.pk,
'style':'cursor:pointer',
}