diff -r b53e1cdb0398 -r 7fe19ebfe0d3 app/soc/views/helper/responses.py --- a/app/soc/views/helper/responses.py Thu Jun 04 22:26:24 2009 +0200 +++ b/app/soc/views/helper/responses.py Thu Jun 04 23:21:33 2009 +0200 @@ -31,6 +31,7 @@ from soc.logic import accounts from soc.logic import system +from soc.logic.helper import timeline from soc.logic.models import site from soc.logic.models.user import logic as user_logic from soc.modules import callback @@ -137,6 +138,7 @@ context['site_name'] = settings.site_name context['site_notice'] = settings.site_notice context['tos_link'] = redirects.getToSRedirect(settings) + context['in_maintenance'] = timeline.isActivePeriod(site, 'maintenance') return context