Ticket #3817: admin_modify.diff
File admin_modify.diff, 863 bytes (added by , 18 years ago) |
---|
-
django/contrib/admin/templatetags/admin_modify.py
44 44 'show_delete_link': (not is_popup and context['has_delete_permission'] 45 45 and (change or context['show_delete'])), 46 46 'show_save_as_new': not is_popup and change and opts.admin.save_as, 47 'show_save_and_add_another': not is_popup and (not opts.admin.save_as or context['add']) ,47 'show_save_and_add_another': not is_popup and (not opts.admin.save_as or context['add']) and context['has_add_permission'], 48 48 'show_save_and_continue': not is_popup and context['has_change_permission'], 49 49 'show_save': True 50 50 }