[Django] #27207: Replace <p class="help"> with <div> tag in admin templates

7 views
Skip to first unread message

Django

unread,
Sep 10, 2016, 4:27:21 PM9/10/16
to django-...@googlegroups.com
#27207: Replace <p class="help"> with <div> tag in admin templates
------------------------------------------------+------------------------
Reporter: timgraham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
To allow block elements such as lists in help text (for example, password
validators help text in #26097), replace <p> with <div> in the admin
templates and CSS.

It's implemented in the first commit of the
[https://github.com/django/django/pull/6031 PR] for #26097.

--
Ticket URL: <https://code.djangoproject.com/ticket/27207>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 10, 2016, 4:57:55 PM9/10/16
to django-...@googlegroups.com
#27207: Replace <p class="help"> with <div> tag in admin templates
--------------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"2d26b4637f0318736955b54b34f270fe9500f795" 2d26b46]:
{{{
#!CommitTicketReference repository=""
revision="2d26b4637f0318736955b54b34f270fe9500f795"
Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27207#comment:1>

Django

unread,
Jun 1, 2022, 5:42:00 AM6/1/22
to django-...@googlegroups.com
#27207: Replace <p class="help"> with <div> tag in admin templates
--------------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by GitHub <noreply@…>):

In [changeset:"f3e2bb0833105f43efc0cc6f19c8465bc1b1a785" f3e2bb0]:
{{{
#!CommitTicketReference repository=""
revision="f3e2bb0833105f43efc0cc6f19c8465bc1b1a785"
Fixed #33750 -- Fixed timezone warning alignment with help texts.

Previously help_text was wrapped in a paragraph, but the change to div
broke the alignment, refs #27207.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27207#comment:2>

Django

unread,
Jul 7, 2022, 5:32:56 AM7/7/22
to django-...@googlegroups.com
#27207: Replace <p class="help"> with <div> tag in admin templates
--------------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: contrib.admin | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------

Comment (by Carlton Gibson <carlton@…>):

In [changeset:"6f80050496780e2f8a65e2a4374dd6375c9fbfa5" 6f80050]:
{{{
#!CommitTicketReference repository=""
revision="6f80050496780e2f8a65e2a4374dd6375c9fbfa5"
Fixed #33781 -- Restored alignment for admin split-field timezone
warnings.

Regression in f3e2bb0833105f43efc0cc6f19c8465bc1b1a785.
Refs #33750 and #27207.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27207#comment:3>

Reply all
Reply to author
Forward
0 new messages