#34922: Add dynamic HTML/CSS classes to table row elements in admin changelist 
view
-------------------------------------+-------------------------------------
     Reporter:  thebugcollector      |                    Owner:
                                     |  thebugcollector
         Type:  New feature          |                   Status:  closed
    Component:  contrib.admin        |                  Version:  dev
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by thebugcollector):

 Replying to [comment:2 David Sanders]:
 > Thanks for the report however you can do this by overriding one of the
 many templates that `contrib.admin` uses, most likely
 `admin/change_list_results.html`.
 >
 > Additionally, all feature requests must be posted on the Django Forum in
 order to be voted on
 https://code.djangoproject.com/wiki/DevelopersMailingList 👍

 Thanks. For anyone who is interested in this feature, it can be achieved
 with template overrides but also requires changes to the template tags
 (specifically `result_list`) so that the CSS classes are passed through
 along with table row content.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018b576a1d5b-00fb2905-dcc1-476c-8f10-6018f6d08fbf-000000%40eu-central-1.amazonses.com.

Reply via email to