fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[wolnelektury.git]
/
src
/
annoy
/
admin.py
diff --git
a/src/annoy/admin.py
b/src/annoy/admin.py
index
24e977e
..
8255e96
100644
(file)
--- a/
src/annoy/admin.py
+++ b/
src/annoy/admin.py
@@
-5,7
+5,11
@@
from . import models
class BannerAdmin(TranslationAdmin):
class BannerAdmin(TranslationAdmin):
- list_display = ['place', 'text', 'priority', 'since', 'until', 'show_members', 'staff_preview']
+ list_display = [
+ 'place', 'text',
+ 'text_color', 'background_color',
+ 'priority', 'since', 'until',
+ 'show_members', 'staff_preview']
admin.site.register(models.Banner, BannerAdmin)
admin.site.register(models.Banner, BannerAdmin)