Skip to content

Commit

Permalink
Tender admin: collapse 3 sections to reduce space
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Feb 19, 2024
1 parent 949cb4c commit b70f89a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lemarche/tenders/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class TenderAdmin(FieldsetsInlineMixin, admin.ModelAdmin):
),
},
),
("Partenaire APProch", {"fields": ("is_partner_approch", "partner_approch_id")}),
("Partenaire APProch", {"classes": ["collapse"], "fields": ("is_partner_approch", "partner_approch_id")}),
(
"Structures",
{
Expand Down Expand Up @@ -357,6 +357,7 @@ class TenderAdmin(FieldsetsInlineMixin, admin.ModelAdmin):
(
"Stats",
{
"classes": ["collapse"],
"fields": (
"siae_list_last_seen_date",
"source",
Expand All @@ -365,7 +366,7 @@ class TenderAdmin(FieldsetsInlineMixin, admin.ModelAdmin):
),
},
),
("Si importé", {"fields": ("import_raw_object_display",)}),
("Si importé", {"classes": ["collapse"], "fields": ("import_raw_object_display",)}),
("Dates", {"fields": ("created_at", "updated_at")}),
]

Expand Down

0 comments on commit b70f89a

Please sign in to comment.