mod: Поле вкл/выкл типограф перенесено во вкладку настроек типографа
This commit is contained in:
@@ -210,6 +210,7 @@ class AdmDictumAndQuotesAdmin(admin.ModelAdmin):
|
|||||||
('Настройки типографа (Etpgrf)', {
|
('Настройки типографа (Etpgrf)', {
|
||||||
'classes': ('collapse',),
|
'classes': ('collapse',),
|
||||||
'fields': (
|
'fields': (
|
||||||
|
('bTypograph',),
|
||||||
('etp_language', 'etp_mode'),
|
('etp_language', 'etp_mode'),
|
||||||
('etp_quotes', 'etp_sanitize'),
|
('etp_quotes', 'etp_sanitize'),
|
||||||
('etp_hyphenation', 'etp_hanging_punctuation'),
|
('etp_hyphenation', 'etp_hanging_punctuation'),
|
||||||
@@ -222,7 +223,7 @@ class AdmDictumAndQuotesAdmin(admin.ModelAdmin):
|
|||||||
}),
|
}),
|
||||||
('Служебное', {
|
('Служебное', {
|
||||||
'classes': ('collapse',),
|
'classes': ('collapse',),
|
||||||
'fields': ('iViewCounter', 'imFileOG', 'bTypograph') # bTypograph kept for compatibility
|
'fields': ('iViewCounter', 'imFileOG', ) # bTypograph kept for compatibility
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
readonly_fields = ('szIntroHTML', 'szContentHTML', 'iViewCounter')
|
readonly_fields = ('szIntroHTML', 'szContentHTML', 'iViewCounter')
|
||||||
|
|||||||
Reference in New Issue
Block a user