Better naming of context variable

This commit is contained in:
Joachim 2021-08-04 11:42:18 +02:00
parent 14c606301c
commit 73fd098068
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ def site_settings(request): # pylint: disable=unused-argument
return {
"site": models.SiteSettings.objects.get(),
"active_announcements": models.Announcement.active_announcements(),
"enable_thumbnail_generation": settings.ENABLE_THUMBNAIL_GENERATION,
"thumbnail_generation_enabled": settings.ENABLE_THUMBNAIL_GENERATION,
"media_full_url": settings.MEDIA_FULL_URL,
"preview_images_enabled": settings.ENABLE_PREVIEW_IMAGES,
"request_protocol": request_protocol,

View file

@ -16,7 +16,7 @@
>
{% else %}
{% if enable_thumbnail_generation %}
{% if thumbnail_generation_enabled %}
{% if size_mobile %}
<source