OpenSlides/openslides/agenda/api.py

23 lines
442 B
Python
Raw Normal View History

2011-07-31 10:46:29 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
openslides.agenda.api
~~~~~~~~~~~~~~~~~~~~~
Useful functions for the agenda app.
:copyright: 2011 by the OpenSlides team, see AUTHORS.
:license: GNU GPL, see LICENSE for more details.
"""
from config.models import config
2011-07-31 10:46:29 +02:00
def is_summary():
"""
True, if a summery shall be displayed
"""
2012-02-15 12:04:11 +01:00
if config['agenda_summary']:
2011-07-31 10:46:29 +02:00
return True
return False