Ticket #11373: patch-changelist.diff
File patch-changelist.diff, 1.8 KB (added by , 15 years ago) |
---|
-
django/contrib/admin/media/css/changelists.css
53 53 vertical-align: middle; 54 54 } 55 55 56 #changelist table thead th:first-child {56 #changelist.with-actions table thead th:first-child { 57 57 width: 1.5em; 58 58 text-align: center; 59 59 } … … 62 62 border-left: 1px solid #ddd; 63 63 } 64 64 65 #changelist table tbody td:first-child {65 #changelist.with-actions table tbody td:first-child { 66 66 border-left: 0; 67 67 border-right: 1px solid #ddd; 68 68 text-align: center; -
django/contrib/admin/templates/admin/change_list.html
9 9 <script type="text/javascript" src="../../jsi18n/"></script> 10 10 {% endif %} 11 11 {{ media }} 12 {% if not actions_on_top and not actions_on_bottom %}13 <style>14 #changelist table thead th:first-child {width: inherit}15 </style>16 {% endif %}17 12 {% endblock %} 18 13 19 14 {% block bodyclass %}change-list{% endblock %} … … 55 50 </p> 56 51 <ul class="errorlist">{% for error in cl.formset.non_field_errors %}<li>{{ error }}</li>{% endfor %}</ul> 57 52 {% endif %} 58 <div class="module{% if cl.has_filters %} filtered{% endif %} " id="changelist">53 <div class="module{% if cl.has_filters %} filtered{% endif %}{% if action_form %} with-actions{% endif %}" id="changelist"> 59 54 {% block search %}{% search_form cl %}{% endblock %} 60 55 {% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %} 61 56