From 946bc1e4978384866df127966aa0f9162b932166 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Fri, 1 Oct 2021 14:35:29 +0200 Subject: [PATCH] show that rows are clickable, fix #75 --- apps/member/tables.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/member/tables.py b/apps/member/tables.py index 1c152526..e2c93930 100644 --- a/apps/member/tables.py +++ b/apps/member/tables.py @@ -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', }