Opened 5 years ago

Closed 5 years ago

#29953 closed New feature (fixed)

Add CSS class to column headers in tabular inlines

Reported by: Hidde Bultsma Owned by: Hidde Bultsma
Component: contrib.admin Version: 2.1
Severity: Normal Keywords: admin tabular inline
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

Table column headers in tabular inlines don't have a CSS class at the moment, making it impossible to apply field-specific styling to them. Their counterparts in the ModelAdmin change list do, formatted as column-{{ field_name }}. I propose that the same class name be used for the column headers in tabular inlines.

Change History (3)

comment:1 by Hidde Bultsma, 5 years ago

Owner: changed from nobody to Hidde Bultsma

comment:2 by Tim Graham, 5 years ago

Easy pickings: unset
Triage Stage: UnreviewedAccepted

comment:3 by Tim Graham <timograham@…>, 5 years ago

Resolution: fixed
Status: assignedclosed

In 2e477619:

Fixed #29953 -- Added CSS class to column headers in tabular inlines.

The class name is the same as one given to the fields in the change list.

Note: See TracTickets for help on using tickets.
Back to Top