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