feat: pagination for videos and icon separating
This commit is contained in:
+20
-3
@@ -8,19 +8,36 @@ from .models import SiteBranding, SiteContact
|
||||
@admin.register(SiteBranding)
|
||||
class SiteBrandingAdmin(admin.ModelAdmin):
|
||||
fieldsets = (
|
||||
("Icon", {"fields": ("icon", "icon_alt")}),
|
||||
(
|
||||
"Brand assets",
|
||||
{
|
||||
"fields": (
|
||||
"icon",
|
||||
"icon_alt",
|
||||
"website_icon",
|
||||
"hero_logo",
|
||||
"hero_logo_alt",
|
||||
),
|
||||
"description": (
|
||||
"Manage each placement independently. Removing an upload restores "
|
||||
"the existing Radiuma asset for that placement."
|
||||
),
|
||||
},
|
||||
),
|
||||
(
|
||||
"Sizes",
|
||||
{
|
||||
"fields": ("navbar_icon_size", "footer_icon_size"),
|
||||
"description": "Square dimensions in pixels for each placement.",
|
||||
"description": (
|
||||
"Set the logo height for each placement. Its width is calculated "
|
||||
"automatically so the uploaded image is never cropped or stretched."
|
||||
),
|
||||
},
|
||||
),
|
||||
(
|
||||
"Appearance",
|
||||
{
|
||||
"fields": (
|
||||
"object_fit",
|
||||
"show_border",
|
||||
"border_width",
|
||||
"border_color",
|
||||
|
||||
Reference in New Issue
Block a user