Opened 9 years ago

Closed 9 years ago

#25967 closed Cleanup/optimization (fixed)

TabularInline headers don't have good indication for whether or not a field is required

Reported by: Tim Graham Owned by: Akshesh Doshi
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The change form and StackedInline labels are bold if the field is required. The TabularInline headers don't have any distinct styling in this regard. It's not a regression in the new styling in Django 1.9 though.

Change History (7)

comment:1 by Akshesh Doshi, 9 years ago

Would this require modifications in the TabularInline templates ?

I would like to volunteer to work on this :D

comment:2 by Tim Graham, 9 years ago

I don't think so, probably a CSS change would be sufficient.

comment:3 by Akshesh Doshi, 9 years ago

Sure, so can I work on it ?

comment:4 by Tim Graham, 9 years ago

See our guidelines about Claiming tickets.

comment:5 by Akshesh Doshi, 9 years ago

Owner: changed from nobody to Akshesh Doshi
Status: newassigned

Thank You.

comment:6 by Akshesh Doshi, 9 years ago

Please have look at the changes at https://github.com/akki/django/tree/ticket_25967
I have made the required fields black in color against the default gray color.

Let me know if any other changes are required else I would create a pull request.

comment:7 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In 0d85599:

Fixed #25967 -- Indicated required fields in admin.TabularInline headers.

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