Opened 2 days ago
Last modified 27 hours ago
#36178 assigned Cleanup/optimization
Consistent quoting of object strings in admin delete confirmation messages.
Reported by: | Antoliny | Owned by: | Antoliny |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | delete |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | yes |
Description
There is a confirmation message when removing a specific object on the Admin page.
Currently, there are three types of confirmation messages depending on the permissions and on_delete values like this..
As shown in the highlighted part of the image above, single quotes and double quotes are used to emphasize the str object.
I think it would be better to use either single double quotes or quotes consistently for uniformity(I think use double quotes is better).
Attachments (1)
Change History (5)
by , 2 days ago
Attachment: | delete_confirmation_message.png added |
---|
comment:1 by , 2 days ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 29 hours ago
Summary: | Add quote consistency for object str emphasis in admin delete confirmation messages. → Consistent quoting of object strings in admin delete confirmation messages. |
---|---|
Triage Stage: | Unreviewed → Accepted |
UI/UX: | set |
comment:3 by , 28 hours ago
Has patch: | set |
---|
comment:4 by , 27 hours ago
Patch needs improvement: | set |
---|---|
Version: | 5.1 → dev |
Note:
See TracTickets
for help on using tickets.
This is likely to be the case in other pages also 👍