2013-12-09 23:56:01 +01:00
|
|
|
from django.dispatch import receiver
|
|
|
|
|
|
|
|
from openslides.utils.signals import template_manipulation
|
|
|
|
|
|
|
|
|
|
|
|
@receiver(template_manipulation, dispatch_uid="add_assignment_stylesheets")
|
|
|
|
def add_assignment_stylesheets(sender, request, context, **kwargs):
|
|
|
|
"""
|
|
|
|
Adds the assignment.css to the context.
|
|
|
|
"""
|
2014-01-14 23:22:29 +01:00
|
|
|
context['extra_stylefiles'].append('css/assignment.css')
|