forked from mirrors/bookwyrm
Better naming of context variable
This commit is contained in:
parent
14c606301c
commit
73fd098068
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
>
|
||||
{% else %}
|
||||
|
||||
{% if enable_thumbnail_generation %}
|
||||
{% if thumbnail_generation_enabled %}
|
||||
|
||||
{% if size_mobile %}
|
||||
<source
|
||||
|
|
Loading…
Reference in a new issue