# Requirements update
* updates requirements.txt * fixes deprecated usage of certain functions brought by Django6.x
This commit is contained in:
@@ -178,7 +178,9 @@ class TableRenderMixin:
|
||||
if len(value) > max_length:
|
||||
value = f"{value[:max_length]}..."
|
||||
value = format_html(
|
||||
f'<div title="{value_orig}">{value}</div>'
|
||||
'<div title="{}">{}</div>',
|
||||
value_orig,
|
||||
value
|
||||
)
|
||||
return value
|
||||
|
||||
@@ -222,7 +224,7 @@ class TableRenderMixin:
|
||||
tooltip=_("Full access granted") if is_entry_shared else _("Access not granted"),
|
||||
icn_class="fas fa-edit rlp-r-inv" if is_entry_shared else "far fa-edit",
|
||||
)
|
||||
return format_html(html)
|
||||
return format_html(html, None)
|
||||
|
||||
|
||||
class TableOrderMixin:
|
||||
|
||||
Reference in New Issue
Block a user