Feat: Add upload status badge styles and twig filter

This commit is contained in:
Björn Fromme
2023-10-13 12:13:35 +02:00
parent 8dcfa2f43c
commit 7ec12d6a3e
6 changed files with 45 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ class AppExtension extends AbstractExtension
new TwigFilter('teamer_status_label', [AppRuntime::class, 'teamerStatusLabel']),
new TwigFilter('bpn_country_label', [AppRuntime::class, 'bpnCountryLabel']),
new TwigFilter('bpn_pickup_label', [AppRuntime::class, 'bpnPickupLabel']),
new TwigFilter('upload_status_badge', [AppRuntime::class, 'renderUploadStatusBadge'], ['is_safe' => ['html']]),
];
}