diff --git a/app/app/context.py b/app/app/context.py index 35b2923055c..a179d777869 100644 --- a/app/app/context.py +++ b/app/app/context.py @@ -48,7 +48,9 @@ def fetchPost(qt='2'): @cached_as(Announcement.objects.filter(key__in=['footer', 'header']), timeout=1200) def get_sitewide_announcements(): - announcements = Announcement.objects.filter(key__in=['footer', 'header'], valid_to__gt=timezone.now(), valid_from__lt=timezone.now()) + announcements = Announcement.objects.filter( + key__in=['footer', 'header'], valid_to__gt=timezone.now(), valid_from__lt=timezone.now() + ) announcement = announcements.filter(key='footer').first() header_msg, footer_msg, nav_salt = '', '', 0 if announcement: diff --git a/app/retail/templates/newkudos.html b/app/retail/templates/newkudos.html index a73d5c62cfc..7018c77ecb9 100644 --- a/app/retail/templates/newkudos.html +++ b/app/retail/templates/newkudos.html @@ -114,7 +114,7 @@
{% if is_staff %}
- +