Пример #1
0
def build_status_label(key, *args, **kwargs):
    """ Render a Build status label """
    return mark_safe(BuildStatus.render(key, large=kwargs.get('large', False)))
Пример #2
0
def build_status(key, *args, **kwargs):
    return mark_safe(BuildStatus.render(key))