X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..5b312d5dfc897d291d4d4ed159fc25d7f5493d41:/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):