X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..ddf91891d57294b4fbf52ac5fb55b4f0e71e8781:/src/social/admin.py diff --git a/src/social/admin.py b/src/social/admin.py index 3da4ae8c0..c53ff893f 100755 --- a/src/social/admin.py +++ b/src/social/admin.py @@ -11,13 +11,13 @@ from social.models import Cite class CiteAdmin(admin.ModelAdmin): list_display = ['nonempty_text', 'sticky', 'vip', 'small', 'has_image'] fieldsets = ( - (None, {'fields': ('book', 'text', 'small', 'vip', 'link', 'sticky')}), + (None, {'fields': ('book', 'text', 'small', 'vip', 'link', 'sticky', 'banner')}), ( _('Background'), - {'fields': ('image', 'image_shift', 'image_title', 'image_author', - 'image_link', 'image_license', 'image_license_link') - } - ) + {'fields': ( + 'image', 'image_shift', 'image_title', 'image_author', + 'image_link', 'image_license', 'image_license_link')}, + ) ) def nonempty_text(self, cite):