#15290 closed (fixed)
Border style issue in changelist
Reported by: | Julien Phalip | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Take this example:
Model:
from django.db import models class MyModel(models.Model): name = models.CharField(max_length=100, blank=True) title = models.CharField(max_length=100, blank=True) content = models.CharField(max_length=100, blank=True)
Admin:
from django.contrib import admin from .models import MyModel class MyModelAdmin(admin.ModelAdmin): list_display = ('name', 'title', 'content') list_display_links = ('title',) admin.site.register(MyModel, MyModelAdmin)
The display link (here the 'title' field) is represented within a <th>
instead of a <td>
which is used for other regular display fields. The issue is that there is no CSS rule for displaying the left border of a <th>
cell. The attached patch fixes this.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | 15290_changelist_th_css.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [15572]: