PersonAdmin: Move profile_on_web and newsletter to the top
This commit is contained in:
parent
3a29b96513
commit
9cba842a18
1 changed files with 7 additions and 7 deletions
14
app/admin.py
14
app/admin.py
|
@ -27,7 +27,7 @@ class PersonAdmin(admin.ModelAdmin):
|
||||||
fieldsets = (
|
fieldsets = (
|
||||||
(None, {
|
(None, {
|
||||||
'fields': (
|
'fields': (
|
||||||
('id'),
|
('id', 'profile_on_web', 'news_letter'),
|
||||||
('mr_mrs', 'title','full_name', 'position'),
|
('mr_mrs', 'title','full_name', 'position'),
|
||||||
('first_name', 'last_name', 'search_name', 'status'),
|
('first_name', 'last_name', 'search_name', 'status'),
|
||||||
('contact_email', 'email_2', 'skype', 'professional_phone'),
|
('contact_email', 'email_2', 'skype', 'professional_phone'),
|
||||||
|
@ -55,12 +55,12 @@ class PersonAdmin(admin.ModelAdmin):
|
||||||
}),
|
}),
|
||||||
('Others', {
|
('Others', {
|
||||||
'classes': ('collapse',),
|
'classes': ('collapse',),
|
||||||
'fields': ('orcid', 'web_of_science', 'twitter', 'instagram', 'updated',
|
'fields': (
|
||||||
('news_letter', 'profile_on_web'),
|
'orcid', 'web_of_science', 'twitter', 'instagram', 'updated',
|
||||||
'entry_date',
|
'entry_date',
|
||||||
'country',
|
'country',
|
||||||
'gmba_function'
|
'gmba_function'
|
||||||
),
|
),
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
list_display = ['id', 'full_name', 'organization']
|
list_display = ['id', 'full_name', 'organization']
|
||||||
|
|
Loading…
Reference in a new issue