Skip to content

Commit

Permalink
fix issue on UI of audit log
Browse files Browse the repository at this point in the history
  • Loading branch information
reichie020212 committed Dec 10, 2023
1 parent 9884bdb commit ddaf704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spp_audit_log/models/spp_audit_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _compute_data_html(self):
for rec in self:
thead = ""
for head in (_("Field"), _("Old value"), _("New value")):
thead += "<th>%s</th>" % head
thead += '<th style="width: 33%;">{head}</th>'.format(head=head)
thead = "<thead><tr>%s</tr></thead>" % thead
tbody = ""
for line in rec._get_content():
Expand Down

0 comments on commit ddaf704

Please sign in to comment.