#8499 closed (fixed)
Admin Fieldset changed css from 'error' to 'errors'
Reported by: | Robert Myers | Owned by: | Robert Myers |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It looks like it may have been just a little oversite. But the new admin changed the css that was applied to the form-row div. It use to be error now it is errors. While this may be technically correct it is a silly change to make since it will require everyone who was using error to style up the row differently.
Case point one: http://code.djangoproject.com/ticket/5873
I think that change should be reverted.
Also if this is not changed then you will need to alter the global.css file Here is the relevant part:
/* MESSAGES & ERRORS */ # snip # .error { background:#ffc; } .error input, .error select { border:1px solid red; }
And it should be listed in Backwards incompatible Changes if it is not reverted.
Attachments (3)
Change History (9)
by , 16 years ago
Attachment: | fieldset.patch added |
---|
comment:1 by , 16 years ago
Has patch: | set |
---|
comment:2 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
errors
is a better name, and it's easy enough for folks to change their own CSS stylesheets. Let's not flip-flop, and leave it as is.
by , 16 years ago
Attachment: | 8499.patch added |
---|
Fair enough, here is a patch to correct the global.css to 'errors' from 'error'
comment:3 by , 16 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Reopening, since there's still a bug here (adding a patch to a closed ticket won't get it committed).
comment:4 by , 16 years ago
Sorry, I wasn't sure of the correct procedure. Whether I can or should have set it to 'reopen'. And I thought this was so minor it wasn't worth bringing up on django-developers.
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
fix fieldset error css