X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..a2f5e89d46881be85c38c664ffd30dcfe39ad512:/src/social/admin.py?ds=inline 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):