4f04223e08
Used customized AppConfig classes in openslides.core, openslides.account, openslides.projector, openslides.agenda, openslides.motion, openslides.assignment, openslides.users, openslides.mediafile, openslides.config. Refactored loading of signals, template signals and slides.
8 lines
311 B
Python
8 lines
311 B
Python
def add_mediafile_stylesheets(sender, request, context, **kwargs):
|
|
"""
|
|
Receiver function to add the mediafile.css to the context. It is
|
|
connected to the signal openslides.utils.signals.template_manipulation
|
|
during app loading.
|
|
"""
|
|
context['extra_stylefiles'].append('css/mediafile.css')
|