Ticket #13629: more-classes-in-admin.patch
File more-classes-in-admin.patch, 3.3 KB (added by , 13 years ago) |
---|
-
django/contrib/admin/options.py
1164 1164 'media': media, 1165 1165 'has_add_permission': self.has_add_permission(request), 1166 1166 'root_path': self.admin_site.root_path, 1167 'opts': opts, 1167 1168 'app_label': app_label, 1168 1169 'action_form': action_form, 1169 1170 'actions_on_top': self.actions_on_top, -
django/contrib/admin/templates/admin/change_list.html
33 33 {% endif %}{% endif %} 34 34 {% endblock %} 35 35 36 {% block bodyclass %} change-list{% endblock %}36 {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-list{% endblock %} 37 37 38 38 {% if not is_popup %} 39 39 {% block breadcrumbs %} -
django/contrib/admin/templates/admin/delete_selected_confirmation.html
1 1 {% extends "admin/base_site.html" %} 2 2 {% load i18n l10n %} 3 3 4 {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} delete-confirmation delete-selected-confirmation{% endblock %} 5 4 6 {% block breadcrumbs %} 5 7 <div class="breadcrumbs"> 6 8 <a href="../../">{% trans "Home" %}</a> › -
django/contrib/admin/templates/admin/index.html
5 5 6 6 {% block coltype %}colMS{% endblock %} 7 7 8 {% block bodyclass %}dashboard {% endblock %}8 {% block bodyclass %}dashboard {{ app_label|default:"home" }}{% endblock %} 9 9 10 10 {% block breadcrumbs %}{% endblock %} 11 11 -
django/contrib/admin/templates/admin/delete_confirmation.html
1 1 {% extends "admin/base_site.html" %} 2 2 {% load i18n %} 3 3 4 {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} delete-confirmation{% endblock %} 5 4 6 {% block breadcrumbs %} 5 7 <div class="breadcrumbs"> 6 8 <a href="../../../../">{% trans "Home" %}</a> › -
django/contrib/admin/sites.py
419 419 'title': _('%s administration') % capfirst(app_label), 420 420 'app_list': [app_dict], 421 421 'root_path': self.root_path, 422 'app_label': app_label, 422 423 } 423 424 context.update(extra_context or {}) 424 425 context_instance = template.RequestContext(request, current_app=self.name)