Initial commit

This commit is contained in:
ifaryd
2026-05-12 16:54:38 +00:00
commit 8638273475
92 changed files with 6861 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from django.conf import settings
def site_context(request):
careers_enabled = getattr(settings, 'CAREERS_ENABLED', False)
open_jobs_count = 0
if careers_enabled:
from apps.careers.models import JobOffer
open_jobs_count = JobOffer.objects.filter(status=JobOffer.Status.PUBLISHED).count()
return {
'careers_enabled': careers_enabled,
'open_jobs_count': open_jobs_count,
}